skip to Main Content

Get move request batch in Exchange Online

Did you start a migration from Exchange on-premises to Exchange Online in batches? If you did, the next step is to get the move request batch status in Exchange Online and check how it’s going so far. From that point, you can make an estimate of how long it will take for future migration batches.

Get Migration batch

Run and connect to Exchange Online PowerShell V2. Run the cmdlet Get-MigrationBatch to get the migration batches. There are three migration batches created. One of the migration batches is completed. Two batches are in sync between the Exchange organizations (On-premises and Online).

PS C:\> Get-MigrationBatch

Identity           Status    Type               TotalCount
--------           ------    ----               ----------
Migration Batch 01 Synced    ExchangeRemoteMove 5
Migration Batch 02 Synced    ExchangeRemoteMove 4
Migration Batch 03 Completed ExchangeRemoteMove 12

In the next step, we are going to get the status of the migration batch.

Get move request batch

Get move request of Migration Batch 01. Make use of the Get-MoveRequestStatistics cmdlet to view detailed information about move requests.

PS C:\> Get-MoveRequest –BatchName "MigrationService:Migration Batch 01" | Get-MoveRequestStatistics

DisplayName     StatusDetail    TotalMailboxSize               TotalArchiveSize PercentComplete
-----------     ------------    ----------------               ---------------- ---------------
Curt Berry      IncrementalSync 67.87 MB (71,171,939 bytes)    0 B (0 bytes)    95             
Stan Benitez    WorkItemPickup  48.22 MB (50,562,011 bytes)    0 B (0 bytes)    95
Steven Lyman    IncrementalSync 322.8 MB (338,493,950 bytes)   0 B (0 bytes)    95            
Julia Thomson   IncrementalSync 1.768 GB (1,897,912,196 bytes) 0 B (0 bytes)    95            
Amelia Springer WorkItemPickup  1.147 GB (1,231,440,391 bytes) 0 B (0 bytes)    95

Do the same, but this time let’s get move status of Migration Batch 02.

PS C:\> Get-MoveRequest –BatchName "MigrationService:Migration Batch 02" | Get-MoveRequestStatistics

DisplayName    StatusDetail    TotalMailboxSize             TotalArchiveSize PercentComplete
-----------    ------------    ----------------             ---------------- ---------------
Brooke Dillon  IncrementalSync 867.3 MB (909,433,597 bytes) 0 B (0 bytes)    95           
Reggie Palmer  WorkItemPickup  543.7 MB (570,097,401 bytes) 0 B (0 bytes)    95         
Carl Stark     IncrementalSync 105.3 MB (110,375,742 bytes) 0 B (0 bytes)    95          
Leslie Sanders WorkItemPickup  55.5 MB (58,199,712 bytes)   0 B (0 bytes)    95   

The status of each move request is showing in details. What if you want to get both of the move request batches in one table overview?

Combine get move request batch

How to get the move request batches in Exchange Online to combine in one output? Run the following cmdlet in PowerShell.

PS C:\> $MoveRequests = (Get-MoveRequest –BatchName "MigrationService:Migration Batch 01"); $MoveRequests += (Get-MoveRequest –BatchName "MigrationService:Migration Batch 02"); $MoveRequests | Get-MoveRequestStatistics

DisplayName     StatusDetail    TotalMailboxSize               TotalArchiveSize PercentComplete
-----------     ------------    ----------------               ---------------- ---------------
Curt Berry      IncrementalSync 67.87 MB (71,171,939 bytes)    0 B (0 bytes)    95             
Stan Benitez    WorkItemPickup  48.22 MB (50,562,011 bytes)    0 B (0 bytes)    95
Steven Lyman    IncrementalSync 322.8 MB (338,493,950 bytes)   0 B (0 bytes)    95            
Julia Thomson   IncrementalSync 1.768 GB (1,897,912,196 bytes) 0 B (0 bytes)    95            
Amelia Springer WorkItemPickup  1.147 GB (1,231,440,391 bytes) 0 B (0 bytes)    95
Brooke Dillon   IncrementalSync 867.3 MB (909,433,597 bytes)   0 B (0 bytes)    95           
Reggie Palmer   WorkItemPickup  543.7 MB (570,097,401 bytes)   0 B (0 bytes)    95         
Carl Stark      IncrementalSync 105.3 MB (110,375,742 bytes)   0 B (0 bytes)    95          
Leslie Sanders  WorkItemPickup  55.5 MB (58,199,712 bytes)     0 B (0 bytes)    95

I hope that this helped you to get the move request batches in Exchange Online.

Read more: Complete migration batch with PowerShell »

Conclusion

In this article, you learned how to get the move request batch in Exchange Online. First, connect to Exchange Online PowerShell to manage your Exchange Online organization. Run the Get-MoveRequest cmdlet as seen in the article to get the mailbox move status in Exchange Online. If you have more than one migration batches going on, you can combine them together for an easier view.

Did you enjoy this article? You may also like Find specific SMTP address with PowerShell. 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 *