→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎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
‎08-06-2015 03:22 PM
‎03-13-2015 05:29 PM
‎03-19-2015 01:59 PM
noelJCD wrote:
can anyone help
I am getting the attached error message when I run this.
‎03-13-2015 11:18 AM
‎12-07-2012 03:52 PM
‎11-21-2011 06:37 PM
‎11-16-2011 05:54 PM
cscript {actionpath}change_comp_desc.vbs {computer}
‎09-16-2011 07:22 PM
{actionpath}change_comp_desc.vbs \\{computer}
‎08-15-2010 12:51 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now