Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - List Active directory structure.

Reply
 
Old 09-14-2009   #1 (permalink)
Mad Mark


 
 

List Active directory structure.

Hi,

I am after a way to list a AD structure, where I do not know the base DN
etc.
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
time.

Ta

M.



My System SpecsSystem Spec
Old 09-14-2009   #2 (permalink)
Richard Mueller [MVP]


 
 

Re: List Active directory structure.


"Mad Mark" <Jabber.tango@newsgroup> wrote in message
news:%23Cuc8STNKHA.4580@newsgroup
Quote:

> Hi,
>
> I am after a way to list a AD structure, where I do not know the base DN
> etc.
> 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
> time.
>
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.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


My System SpecsSystem Spec
Old 09-14-2009   #3 (permalink)
Mad Mark


 
 

Re: List Active directory structure.

Many thanks for that, I will have a fiddle and a play

regards

mark.


"Richard Mueller [MVP]" <rlmueller-nospam@newsgroup> wrote in
message news:OpPOW0UNKHA.5128@newsgroup
Quote:

>
> "Mad Mark" <Jabber.tango@newsgroup> wrote in message
> news:%23Cuc8STNKHA.4580@newsgroup
Quote:

>> Hi,
>>
>> I am after a way to list a AD structure, where I do not know the base DN
>> etc.
>> 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
>> time.
>>
>
> 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.
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ASP.Net directory structure .NET General
Zip extract is empty directory structure Vista file management
Active Directory: getting a list of users PowerShell
Copy directory structure with permissions intact and shares PowerShell
Active Directory Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46