Mailbox move e-mail notification

Exchange 2013 introduced the new New-MigrationBatch cmdlet, which includes a built-in automatic reporting feature for moving 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 the new features and check out the report.

How to do it...

To create a migration batch (move request) for moving a collection of mailboxes to another database within the Exchange organization, use the New-MigrationBatch cmdlet, as shown next:

New-MigrationBatch –Name Batch01 `
–CSVData ([System.IO.File]::ReadAllBytes("C:\localmove.csv")) `
–Local -TargetDatabase DB2 `
–NotificationEmails 'administrator@contoso.com','jonand@contoso.com' `
-AutoStart ...

Get Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.