Exchange 2019 - Move arbitration mailboxes from Exchange 2016 to 2019
In Exchange, when we are working with a legacy system and migrating mailboxes to the new Exchange Server, we will find that we cannot remove the database on the server as it gives us some long error message it still contains archives mailboxes etc.
To move all the system, federation and migration mailboxes (arbitration), we can firstly find them with a simple command:
- get-mailbox -server exchange-2016 -Arbitration
The above is looking at the Exchange 2016 server and has the -Arbitration switch at the end as we are looking for all those mailboxes:
https://everything-powershell.com/wp-content/uploads/2019/02/arb1.png
As shown above we can see the list of them, now the next step is to just extend on the command above and move them to the Exchange 2019 server using this command:
- get-mailbox -server exchange-2016 -Arbitration | New-MoveRequest -TargetDatabase "Mailbox Database 0188089110"
The extra piece we adding on is the New-MoveRequest command and we are specifying a database on the Exchange 2019 Server.
https://everything-powershell.com/wp-content/uploads/2019/02/Arb2.png
The process from here on is the same as checking normal mailbox moves. We can check the progress running the following commands:
- Get-MoveRequest | Get-MoveRequestStatistics
https://everything-powershell.com/wp-content/uploads/2019/02/Arb3.png
As shown above, we can see all the arbitration mailboxes have now been moved across and we can continue with you cleanup. We need to remove the move requests as well.