skip to Main Content

Pause all mailbox move request in Exchange

Today is an excellent day because you need to move mailboxes to a new database. You like to pause the mailbox move request because it is taking a long time. The resume of the mailboxes will be later on the day when the staff will leave work. How to do that? In this article, you will learn how to use the PowerShell commands to get the job done.

Get information move request

First, we need to get the move request for the mailboxes. Run Exchange Management Shell as administrator. Run the following command.

[PS] C:\>Get-MoveRequest | Get-MoveRequestStatistics
 
DisplayName    StatusDetail    TotalMailboxSize               TotalArchiveSize PercentComplete
-----------    ------------    ----------------               ---------------- ---------------
Flowers Alima  CopyingMessages 5.063 KB (5,184 bytes)                          29
Wells Jamal    CopyingMessages 2.423 MB (2,540,313 bytes)                      25
Harwood Haidar CopyingMessages 302.3 KB (309,603 bytes)                        52
Wu Samantha    CopyingMessages 4.377 MB (4,589,389 bytes)                      30
Lester Shana   CopyingMessages 231.6 MB (242,877,775 bytes)                    89
Fowler Simone  CopyingMessages 3.148 GB (3,379,905,224 bytes)                  47

Suspend (pause) all mailbox move request

Run the command to suspend the mailboxes. After that, check if the move request is in a suspended state.

Note: We will use the -Confirm:$false switch. You will not get a confirmation message asking if you are sure to suspend the move request.

[PS] C:\>Get-MoveRequest -MoveStatus InProgress | Suspend-MoveRequest -Confirm:$false

[PS] C:\>Get-MoveRequest | Get-MoveRequestStatistics
 
DisplayName    StatusDetail TotalMailboxSize               TotalArchiveSize PercentComplete
-----------    ------------ ----------------               ---------------- ---------------
Flowers Alima  Suspended    5.063 KB (5,184 bytes)                          30
Wells Jamal    Suspended    2.423 MB (2,540,313 bytes)                      27
Harwood Haidar Suspended    302.3 KB (309,603 bytes)                        54
Wu Samantha    Suspended    4.377 MB (4,589,389 bytes)                      31
Lester Shana   Suspended    231.6 MB (242,877,775 bytes)                    89
Fowler Simone  Suspended    3.148 GB (3,379,905,224 bytes)                  47

All the mailbox move request are now Suspended.

Resume all mailbox move request

Now we like to Resume the mailbox move request. Run the command and check if the move request is in a resume state.

[PS] C:\>Get-MoveRequest -MoveStatus Suspended | Resume-MoveRequest

[PS] C:\>Get-MoveRequest | Get-MoveRequestStatistics
 
DisplayName    StatusDetail    TotalMailboxSize               TotalArchiveSize PercentComplete
-----------    ------------    ----------------               ---------------- ---------------
Flowers Alima  CopyingMessages 5.063 KB (5,184 bytes)                          34
Wells Jamal    CopyingMessages 2.423 MB (2,540,313 bytes)                      39
Harwood Haidar CopyingMessages 302.3 KB (309,603 bytes)                        61
Wu Samantha    CopyingMessages 4.377 MB (4,589,389 bytes)                      32
Lester Shana   CopyingMessages 231.6 MB (242,877,775 bytes)                    91
Fowler Simone  CopyingMessages 3.148 GB (3,379,905,224 bytes)                  5

That’s it!

Read more: Pause a single mailbox move request in Exchange »

Conclusion

In this article, you learned how to pause and resume all mailbox move requests in Exchange. It’s essential to suspend the mailbox moves when there are network issues. After you fix the network issues, resume the move request. With PowerShell, it’s easy to read the move request data and act fast with a couple of commands.

Did you enjoy this article? You may like Move all mailboxes from one database to another. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *