How to open dialog for Active Directory search
Project I am working right now on requires from me to periodically search for something in AD... How to do it (dont expect anything new ;)):
Standart way:
-
Start -> Run
-
Hit enter
-
Type mmc
-
Hit enter
-
Click file, select Add\Remove Snap-in
-
Click Add
-
Click on Active Directory Users and Computers
-
Click Close
-
Click OK
-
Expand Active Directory Users and Computers
-
Right-click on domain
-
Select Find
-
Type your object name
-
Click on Find now
My modified way to achieve it was to use following procedure:
Nothing really special, hehe :) Just wanted to make you more curious about my final result ;)
So after going through all this again and again, I decided to make some use out of my favourite QLiner - so I mapped following line to one of buttons:
%windir%\system32\rundll32.exe dsquery.dll,OpenQueryWindow
Pretty simple, heh? This command line just shows AD search dialog.