Tuesday, October 22, 2013

Moving Mailboxes in Exchange 2007 and 2010 via PowerShell - What is different?

Exchange 2010 treats quite differently mailbox moves than 2007 version. We were used to use Move-Mailbox cmdlet in order to move mailboxes across servers/databases instantly, however with the mailbox disconnected (offline). Now we must use New-MoveRequest cmdlet to queue up a request which will be completed in background, which means the user will still be able to use it during the operation.

Exchange 2007 syntax:

 Move-Mailbox -Identity USERNAME -TargetDatabase DATABASE -BadItemLimit INT

Exchange 2010 syntax:

 New-MoveRequest -Identity USERNAME -TargetDatabase DATABASE -BadItemLimit INT

You can get updates about the move request by using Get-MoveRequest cmdlet:


 Get-MoveRequest -Identity USERNAME

More info:
Move-Mailbox cmdlet
New-MoveRequest cmdlet
Get-MoveRequest cmdlet

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...