AD Directory Object Picker in Powershell

Any idea how can we implement the AD Directory Object Picker in Powershell ?

 

 

You don’t need to implement that dialog in PowerShell. From what I found through Google search, it is a common dialog that is directly accessible via unmanaged code, and you can use it using managed .NET code (and therefore PowerShell) by leveraging the work of others such as this CodePlex project:

https://adui.codeplex.com/

Can’t seem to be able to call it from Powershell. If you can put a quick script on how to call this would be very helpful.

I don’t have time to do that unfortunately. I did do another search though and found this that may be more helpful:

http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/0b03ac15-72bb-473f-884e-9e5144643b8d