→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here
‎07-24-2013 07:35 PM
‎07-26-2013 01:51 PM
‎07-29-2013 08:37 PM
Lansweeper wrote:
Note that custom actions are configured in the Configuration/Website Management/Asset Pages section of the Lansweeper 5.0 web console, should you be having trouble locating the appropriate configuration menu.
‎07-25-2013 10:46 AM
romwarrior wrote:
So are these custom actions gone in version 5? Is there an equivalent?
Looking for simple ones like:
Change computer description
Offer remote assistance
‎07-25-2013 06:45 PM
Lansweeper wrote:
These actions were never part of the default Lansweeper installation, most likely you found them on the forum.
‎07-25-2013 12:10 AM
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputer = Wscript.Arguments.Item(0)
Set Obj= GetObject("winmgmts:\\" & strComputer).InstancesOf("Win32_OperatingSystem")
For Each x In Obj
choice = MsgBox("The current Description for " & strComputer & " is: " & x.Description & VbCrLf & VbCrLf & _
"Do you want to change the Description in AD?",4,"Change Description?")
If choice = 6 Then
strNew = Inputbox("What should the new Description be for " & strComputer & "?","Enter Description",x.description)
x.Description = strNew
x.Put_
MsgBox "The Description of " & strComputer & " is now: " & x.Description,0,strComputer & " - " & x.Description
End If
Next
WScript.Quit
‎07-25-2013 06:47 PM
Jono wrote:
Here's what I use for changing a computer description.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now