Exchange 2010 Bulk Mailbox moves
Exchange and Powershell allows administrators much greater flexibility and the power to perform operations easily with one or two simple commands. The following commands are ones that I use to assist me in the bulk migration of mailboxes.
Firstly I create a Universal Distribution Group that contains the users whos mailboxes I want to move. There are plenty of ways to perform mailbox moves and using distribution groups is one.
In the following example the group “Mailboxes to be moved” was used and I was moving the mailboxes to the Mailbox Database “Database01”.
Get-DistributionGroupmember -identity “Mailboxes to be moved” | new-moverequest -TargetDatabase Database01
To watch the progress of these moves I use the following commands
get-moverequeststatistics -moverequestqueue “Database01” | sort-object status,displayname,percentcomplete,totalmailboxsize
To view further information and to identify the cause of any failures I use the following command to output the full moverequest report to a text file on the c: drive.
get-moverequeststatistics -moverequestqueue “mailbox database” -includereport | fl | out-file c:\get-moverequeststatistics.txt
There are many more options available that I haven’t gone into here including allow bad items and batch names, refer to: http://technet.microsoft.com/en-us/library/dd351123.aspx