Today I needed to move the existing Active Directory user accounts from their OU to another OU based on the users’ department. Below you can download the csv and script files written by Prashant Dhewaju (MS Repository). Usage is pretty simple.
Run Active Directory Module for Windows Powershell on your domain controller as the Administrator.
I copied these 2 files under c:\Scripts\BulkuserMove, then run the following command.