Advertisement
Merzavets

Move AD user from one OU to another

Mar 13th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Import-CSV c:\list.csv |
  2. ForEach {
  3.     Get-QADuser -Identity $_.sAMAccountName | Move-QADObject -NewParentContainer $_.OU
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement