Move Exchange Mailboxes

Lots of reasons for moving, often because you want to delete one of the mailbox databases.

User Mailboxes

new-moverequest "joe bloggs" -TargetDatabase "Mailbox Database"
Get-MoveRequest | Get-MoveRequestStatistics

Arbitration Mailboxes

Get-Mailbox -Arbitration | New-MoveRequest -TargetDatabase "Mailbox Database"
Get-MoveRequest | Get-MoveRequestStatistics

Remove the completed Move Requests

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest

or if you have lots to do

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest -Confirm:$false

 

Additional Moves

You may also have to:

Get-Mailbox –RecipientTypeDetails DiscoveryMailbox | Format-Table Name

Get-Mailbox -RecipientTypeDetails DiscoveryMailbox | New-MoveRequest -TargetDatabase @Mailbox Database"

Get-MoveRequest | Get-MoveRequestStatistics

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest

To get a list of all Audit mailboxes in this database, run the command

Get-Mailbox -Database <Database ID> -AuditLog

To disable a Audit mailbox so that you can delete the mailbox database, run the command

Get-Mailbox -Database "Mailbox Database 2138967441"  -Auditlog | Disable-Mailbox

 

 

Once all moved, old DB can be removed. If you have created a new mailbox database, you will need to add new AV exclusions asper MS’s recommendations.