I'm having a problem with creating a new local user on a computer. I am doing this from the local machine, but I keep getting the following error:

 Quote:
COM exception error "SetInfo" ((null) - (null)) [-2147352567/80020009]


This is the script I'm using. I converted from an vbscript that works:

 Code:
; ------ SCRIPT CONFIGURATION ------
$strUserName = "naadmin"
$strFullName = "NA Admin"
$strDescr = "North America Administrator"
$strPassword = "Testing1234$" 
$strComputer = "IHE-GLBIMG31"
; ------ END CONFIGURATION ---------
$objSystem = GetObject("WinNT://" + $strComputer)
$objUser = $objSystem.Create("user", $strUserName)
$objUser.FullName = $strFullName
$objUser.Description = $strDescr
$objUser.SetPassword $strPassword
$objUser.SetInfo
? @Serror
Get $