Move a public folder mailbox to a different mailbox database

Xavier Mustin

Administrator
Staff member
#1
What do you want to do?

Create a move request

The New-MoveRequest cmdlet queues the public folder mailbox into the Microsoft Exchange Mailbox Replication service queue. When the Microsoft Exchange Mailbox Replication service is available, it will pick up the move request and begin moving the public folder mailbox. It will complete the entire request from beginning to end.

This example begins the move request for the public folder mailbox PF_SanFrancisco to the mailbox database MBX_DB01.
Code:
New-MoveRequest -Identity "PF_SanFrancisco" -TargetDatabase MBX_DB01
For detailed syntax and parameter information, see New-MoveRequest.

Create a move request to complete at a later time

During the final stage of the move request, when it’s in the CompletionInProgress phase, users may be temporarily locked out the public folder mailbox. If needed, you can suspend the move request before it reaches that phase and resume it at a time when users won’t be impacted.

This example begins the move request for the public folder mailbox PF_SanFrancisco to the mailbox database MBX_DB01, and suspends it when the move request is ready to complete.
Code:
New-MoveRequest -Identity "PF_SanFrancisco" -TargetDatabase MBX_DB01 -SuspendWhenReadyToComplete
For detailed syntax and parameter information, see New-MoveRequest.

This example retrieves the status of the ongoing mailbox move for the public folder mailbox PF_SanFrancisco.
Code:
Get-MoveRequest -Identity "PF_SanFrancisco"
For detailed syntax and parameter information, see New-MoveRequest.

When the move request reaches the status of Suspended, you can resume the request.
This example resumes the move request for the public folder mailbox PF_SanFrancisco.
Code:
Resume-MoveRequest -Identity "PF_SanFrancisco"
For detailed syntax and parameter information, see New-MoveRequest.

How do you know this worked?

To verify that the move request was successfully created, run the following command:

Code:
Get-MoveRequestStatistics -Identity PF_SanFrancisco | Format-List Status
A status of Completed indicates that the move request was successful.

To see the complete list of the moverequest.

To verify that the move request Status
Code:
Get-MoveRequest
To Verify Moverequest completion
Code:
Get-MoveRequestStatistics -Identity PF
To remove a Completed Moverequest

To clean all completed moverequest
Code:
Get-MoveRequest -movestatus completed | remove-moverequest
 
Haut