Not sure your're right... Adding a $ sign causes getObject to fail with "the network path could not be found"... Omitting the $ sign seems to work fine, I can even retrieve the computer name after GetObject, but still fail adding the computer object to the group. Strange...
 Code:
$strDomain = "EMEA"
$strComputer = "SBLAETTL-7"
$objComputer = GetObject("WinNT://" + $strDomain + "/" + $strComputer + ",computer")
If @Error = 0
  ? "Name " + $objComputer.name
Else
  ? "Error " + @SERROR + " occured"
EndIf


Edited by Sam_B (2008-11-11 09:38 AM)