Natively query active directory

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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
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".
 
#4
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