by Chris Crandall
3. December 2009 10:35
Each migration I work on has a different set of requirements to move users from Exchange 2003 to Exchange 2007. Some customers use the Exchange Manager Console to move users, which works fine. My latest customer asked me to help them move mailboxes based on users in a specific OU. So I created a powershell command that will export the alias and database for accounts that reside in a specific OU. Once we had the output file we could pipe the CSV file (with a couple modifications) into our move mailbox script and boom they should be good to go.
Just an FYI you can use the mailbox move script in this blog without running the Export Users powershell command.
You can find the script and sample output here: http://cbfive.com/blog/page/Move-Mailbox.aspx.