I'm going to begin moving mailboxes from 2007 to 2010. As we have nearly 4000 mailboxes, the best option is to move the mailboxes in bulk by database. When I attempt to prove this process in our test environment, I receive multiple errors and
warnings. Based on what I've read in Microsoft KB article specific to MoveMailbox.ps1, I'm running this command correctly. Also, when I check the event logs I find a generic error that states; "Cmdlet failed. Cmdlet Get-MoveRequest,
parameters". Any help?
I run the following command:
.\MoveMailbox.ps1 -MailboxDatabase Exch2007ServerName\StorageGroup\Database -TargetDatabase Exchange2010Database
Warnings:
1) Exception calling "Start" with "0" arguments: "Cannot write input as there are no more running pipelines"
2) Mailbox won't be moved. Please see the event log for details.
Errors:
1) Cannot validate argument on parameter 'Identity'. The argument is null. Supply a non-null argument and try the command again.
2) You cannot call a method on a null-valued expression.
3) Attempted to divide by zero.
Forgot to mention - if I run the following command, it looks to execute successfully but nothing happens. All of the mailboxes remain on the 2007 database.
Get-MailboxDatabase "Exch2007ServerName\StorageGroup\Database" | .\MoveMailbox.ps1 -DatabaseMap @{"StorageGroup\Database"="Exch2010Database"}