If I understand you correctly you are looking for the Pre Windows 2000
name of computers (not the domain).
The property name is sAMAccountName.
i.e in order to find the pre Windows 2000 names of object in the DDD
ou within domain BBB.CCC the script would be.
Set objContainer = GetObject("LDAP://ou=DDD,dc=BBB,dc=CCC")
For Each objcomputer In objContainer
WScript.Echo objComputer.Name & vbTab & objComputer.sAMAccountName
next
The pre Windows 2000 name of the domain has a property called nETBIOSName.
Regards
Peter Jessop
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/