AD Directory Object Picker in Powershell

This topic contains 3 replies, has 2 voices, and was last updated by  Poshoholic 4 years, 6 months ago.

  • Author
    Posts
  • #7069

    bishafr
    Participant

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

     

     

  • #7095

    Poshoholic
    Participant

    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

    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

    Poshoholic
    Participant

    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.