As posted in the very first reply:
Quote:

$ldap="LDAP://"+@domain+"/"+GetObject("LDAP://rootDSE").Get("defaultNamingContext")


_________________________
There are two types of vessels, submarines and targets.