Powershell script to create AD user but ask which OU to put them in RRS feed

  • Question

  • Hi all,

    Would anyone be able to point me in the right direction here? I'm trying to make a powershell script that creates an AD user, but I want it to list all the OU's underneath one specific sub OU of the domain, and then ask which of the ones listed do you want to create the user in. 

    I cannot figure out what commands I would use for this, or if it's even possible with Powershell.


    • Moved by Bill_Stewart Tuesday, June 16, 2015 8:52 PM This is not "scripts on demand"
    Thursday, May 7, 2015 4:37 AM

All replies