‎05-05-2008 11:49 PM
cmd.exe cscript \\SERVER\SHARE\change_comp_desc.vbs {computer}
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
‎05-06-2008 06:16 PM
‎05-06-2008 02:42 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now