MatrixReloaded
Technical User
Does anyone know the syntax to display the description of a computer in Windows NT. Getting the Name is straight forward but when I put in description the script bombs out!
Thanks
Set WSHShell=WScript.CreateObject("WScript.Shell"
Dim accountsDomain
Dim Computer
accountsDomain = "domainname"
Set Domain = GetObject("WinNT://" & accountsDomain)
Domain.Filter = Array("computer"
For Each Computer In Domain
WScript.Echo Computer.Name
Wscript.Echo Computer.?????
Next
Thanks
Set WSHShell=WScript.CreateObject("WScript.Shell"
Dim accountsDomain
Dim Computer
accountsDomain = "domainname"
Set Domain = GetObject("WinNT://" & accountsDomain)
Domain.Filter = Array("computer"
For Each Computer In Domain
WScript.Echo Computer.Name
Wscript.Echo Computer.?????
Next