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:

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: