banner



Can I Repair My Own Mailbox

Commutation – Move 'ALL' Mailboxes From 1 Database to Some other

KB ID 0000864

Problem

While replacing an Commutation Server on my test network last week, I needed to get all the mailboxes moved across to the new one. Exchange gets upset if you endeavour and delete a mailbox database that has data in it.

Solution

1. Launch the Commutation Management Beat out > Firstly lets get the names of my Databases, then I can simply copy and paste them into the movement mailbox command.

Become-MailboxDatabase  Go-Mailbox -Database              Source Database Name              -ResultSize Unlimited | New-MoveRequest -TargetDatabase              Target Database Name                          

Move All Mailboxes to Another Database

2. The Mailbox moves should then be queued, depending on how many there are, this tin take some time to complete.

Remove all move requests

iii. To check on progress issue the following command;

Get-MoveRequestStatistics -MoveRequestQueue              Target Database Name            

4. When complete you should remove the movement requests like and so;

Get-MoveRequest | where {$_.status -eq "Completed"} | Remove-MoveRequest

Remove all move requests

5. That'due south all the 'user' mailboxes, simply your source database server may accept system mailboxes in it. These will exist either Arbitration mailboxes , or Archive Mailboxes (or both). I don't take whatever archive mailboxes, but I do have Arbitration mailboxes. To discover out for your databases, use the following commands;

Get-Mailbox -Database              Source Database Name              -Arbitration            

6. To move Arbitration and Archive mailboxes, utilize the following commands;

Get-Mailbox -Database              Source Database Name              -Arbitration | New-MoveRequest -TargetDatabase              Target Database Name              Get-Mailbox -Database              Source Database Name              -Archive | New-MoveRequest -TargetDatabase              Target Database Name                          

Move Arbitration Mailboxes

7. You lot can monitor progress with the same control you used in pace 3, and remove the move requests with the same control you used in step 4.

8. In addition you may too have some Auditlog mailboxes like then;

Get-Mailbox -Database              Source Database Name              -Auditlog | New-MoveRequest -TargetDatabase              Target Database Name            

Move Auditlog Mailboxes

ix. Likewise you may haveMonitoring Mailboxes, (In the screenshot below yous can see I don't have any archive mailboxes, equally the control returns no results)

Get-Mailbox -Database              Source Database Name              -Monitoring | New-MoveRequest -TargetDatabase              Target Database Name            

Move Archive and Monitoring Mailboxes

ten. When consummate remove the movement requests;

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest            

emove Archive and Monitoring move requests

11. Finally on Substitution 2022 (and newer) you may also accept Public Folder Mailbox(southward) .

Get-Mailbox -Database              Source Database Name              -PublicFolder | New-MoveRequest -TargetDatabase              Target Database Proper noun            

Move Public Folder Mailboxes

Don't forget to remove any outstanding motility requests.

Related Articles, References, Credits, or External Links

NA

Source: https://www.petenetlive.com/kb/article/0000864

Posted by: haydenburrofted.blogspot.com

0 Response to "Can I Repair My Own Mailbox"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel