Does this work for anyone else?

 Code:
$strDomain="Workgroup"
$strComp="jdoe"
$strGroupName ="Administrators"

$oDomain = GetObject("WinNT://" + $strDomain)
$oGroup = $oDomain.GetObject("Group", $strGroupName)
$oGroup.Add ("WinNT://" + $strDomain + "/" + $strComp)
When I try to add a computer to a group I get this error:

 Quote:
0009] Encountered: COM exception error "Add" ((null) - (null)) [-2147352567/8002


I also get the same error when using the GroupAdd() udf.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain