It is returning both User and Computer. After further debugging I have found that for some reason the incrementing of the $list array is not happening so I changed the code to look like this.

Code:
 For Each $objComputername In $objDomain 
If $objComputername.Class = "Computer"
redim preserve $list[$count]
$list[$count] = $objComputername.Name
? UBound($list) $list[$count]
$count=$count + 1
EndIf
Next



But for some reason the $list finishes with a -1 value for the Ubound($list)
_________________________
Today is the tomorrow you worried about yesterday.