Hi

This code give me the distinguised name
$root = GetObject("LDAP://RootDSE")
$root.GetInfo
? $root.defaultNamingContext

but how do I get the Domain name (pre-Windows 2000) name ?

/Mima