I get an ‘invalid syntax’ error using ‘cscript’and the following snippet of code: Set objComputer = GetObject(“WinNT://” & ServerX)
This works on one computer but not on another.