Natively query active directory

Aug 9, 2011
1
0
Plymouth, UK
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.
 
May 20, 2008
9,195
60
Syracuse, NY, USA
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".
 
May 20, 2008
9,195
60
Syracuse, NY, USA
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