1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Natively query active directory

Discussion in 'Suggestions' started by Simon, Aug 9, 2011.

  1. Simon

    Joined:
    Aug 9, 2011
    Messages:
    1
    Likes Received:
    0
    I would find it incredibly useful to be able to directly query the properties of objects within MS active directory (eg users, groups, computers etc.) using variable functions.
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    On Tue, 09 Aug 2011 10:55:52 -0400, Simon <> wrote:

    |I would find it incredibly useful to be able to directly query the properties of objects within MS active directory (eg users, groups, computers etc.) using variable functions.

    Tey WMIQUERY and @WMI[] with namespace "root\directory\LDAP".
     
  3. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,190
    Likes Received:
    11
    I imagine you could do that using @WMI.

    -Scott

    Simon <> wrote on 08/09/2011
    10:55:50 AM:




     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    On Tue, 09 Aug 2011 12:00:10 -0400, samintz <> wrote:

    |I imagine you could do that using @WMI.

    WMI is somewhat intimidating, especially for me with no experience with any sort
    of query language. Microsoft provides a very useful tool, "WMI Code Creator".
    With it you can not only do WMI queries, but also learn a lot about how to
    construct queries with TCC's WMIQUERY and @WMI[]. Read about it and get it
    here:

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8572
     

Share This Page