Wednesday, December 14, 2011

LDP.exe

For getting info from AD in a text format, I'm finding LDP.exe which is part of the Windows Server 2003 tool-set VERY HELPFUL.

Typically I need to list members in AD groups and in AD Users & Computers you cannot export the lists.

LDP.exe, once bound to the domain can perform these simple queries and then you can grab the text output :)

I had to change the buffer and page size in the options to be able to get full results for queries that return a lot of text.

Simple enough, and free :)