Have you checked the object class?

Make this change to check the class what is returned.
Code:

For Each $objComputername In $objDomain
redim preserve $list[ubound($list)+1]
$list[ubound($list)] = $objComputername.Name
? "Name: " + $objComputername.Name
? "Class: " + $objComputername.Class
Next


What is the class of the objects returned?
_________________________
Home page: http://www.kixhelp.com/hb/