Windows Vista Forums

List Active directory structure.

  1. #1


    Mad Mark Guest

    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

  2. #2


    Richard Mueller [MVP] Guest

    Re: List Active directory structure.


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

    > 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

  3. #3


    Mad Mark Guest

    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

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

    >> 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

List Active directory structure.

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.Net directory structure Centron System Solutions .NET General 4 18 Feb 2009
Zip extract is empty directory structure vankampenp Vista file management 0 07 Oct 2008
Active Directory: getting a list of users Marco Shaw PowerShell 4 04 Jul 2007
Copy directory structure with permissions intact and shares Frank PowerShell 1 11 Jun 2007
Active Directory Lothar PowerShell 7 14 Dec 2006