AD Directory Object Picker in Powershell

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of Poshoholic Poshoholic 3 years, 11 months ago.

  • Author
    Posts
  • #7069
    Profile photo of bishafr
    bishafr
    Participant

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

     

     

  • #7095
    Profile photo of Poshoholic
    Poshoholic
    Member

    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/

  • #7228
    Profile photo of bishafr
    bishafr
    Participant

    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.

  • #7234
    Profile photo of Poshoholic
    Poshoholic
    Member

    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

You must be logged in to reply to this topic.