So getting the OpenFileDialog box is amazingly easy in PowerShell so I assumed the DirectoryObjectPicker might also be as easy. However, I cant' find any reference for using PowerShell with the DirectoryObjectPicker. Can it be done?
Ultimately, what I'm trying to do is: at the click of a button, enumerate our AD hierarchy so the user can select the OU level they want to filter a search on. -- If that added information helps...
Edit:
PowerShell OpenFileDialog:
http://blogs.technet.com/b/heyscriptingguy/archive/2009/09/01/hey-scripting-guy-september-1.aspx
C++ DirectoryObjectPicker:
http://msdn.microsoft.com/en-us/library/ms675899(v=vs.85).aspx