Currently I have a PowerShell script to create new users, modify settings and set a AD Group or disable the user.
I receive my input file and at the end of line there is a code at tells the script what to do with the person. Create, Modify, Disable
I'm wanting to start moving users around between different OU in AD.
The way I'm envisioning this working is at the end of the line the is a new code ie MoveOU.
This would call a new function that would find the user and move them to the new OU.
I am needing help on how to code this. Or if you have a better way to handle this I'm all ears.
Thanks.