"Mad Mark" <Jabber.tango@newsgroup> wrote in message
> I am after a way to list a AD structure, where I do not know the base DN
> I would like to put the out put in LDAP format dn=xxx DC=xxx.
> This is to allow me to quickly list of customer sites and write LDAP
> queries, where the customer has no idea of structure, and I have limited
I have an example VBScript program to document the forest linked here: http://www.rlmueller.net/DocumentForest.htm
The program uses the RootDSE object to retrieve the name of the root domain.
The program documents domains, containers, Organizational Units, and groups.
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net