Running LDAP query from a command line
It is very useful to run an LDAP query against active directory on a windows PC which has no specific tools for this. We can reach the dialog below by various means, such as adding a local user to a group, however it is more convinient to run it independently
Open command line and run:
%SystemRoot%\SYSTEM32\rundll32.exe dsquery,OpenQueryWindow
Select "Custom Search"