‎03-17-2014 08:58 AM
‎03-17-2014 02:52 PM
cmd.exe /C {actionpath}change_comp_desc.vbs {smartname}
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputer = Wscript.Arguments.Item(0)
strDescription = Inputbox("Enter Description:")
Set Obj= GetObject("winmgmts:\\" & strComputer).InstancesOf("Win32_OperatingSystem")
For Each x In Obj
x.Description = strDescription
x.Put_
Next
WScript.Quit
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now