Exchange 2013 introduced the new New-MigrationBatch cmdlet, which includes a built-in automatic reporting feature to move mailboxes, together with a more flexible way of moving collections of mailboxes. In this recipe, we will take a look at how to move mailboxes with these features and check out the report.
Email notification on mailbox moves
How to do it...
To create a migration batch (move request) to move a collection of mailboxes to another database within the Exchange organization, use the New-MigrationBatch cmdlet, as shown in the following command:
New-MigrationBatch –Name "Move Batch #1" –CSVData `
([System.IO.File]::ReadAllBytes("C:localmove.csv")) `
–Local -TargetDatabase...