When you’ve got a lot of mailbox move requests running during an Exchange migration, it’s useful to be able to pull a quick summary of how they’re all going. You can achieve this by piping the Get-MoveRequest cmdlet to the Group-Object cmdlet.
[PS] C:\>Get-MoveRequest | Group-Object -Property:Status | Select-Object Name,Count | Format-Table -Auto Name Count ---- ----- Queued 36 InProgress 2 Completed 158 CompletedWithWarning 1
whay at a time only 2 request InProgress ?
—- —–
Queued 36
InProgress 2
Super useful. I changed it a little bit:
Get-MoveRequest -resultsize unlimited | Where-Object {$_.status -notlike “null”} | Get-MoveRequestStatistics | select DisplayName, StatusDetail, TotalMailboxSize, BytesTransferred, *Percent* | ft -auto
Thank you so much Paul. Your online materials have been so helpful to me
Just Get all the status:
Get-MoveRequest -resultsize unlimited | Where-Object {$_.status -notlike “null”} | Get-MoveRequ
estStatistics | select DisplayName, StatusDetail, *Size, *Percent* | ft
Any way of getting actual connection statistics while the migrations are in progress?
Get-MoveRequest -resultsize unlimited …
to overcome default limit of 1000 requests
Thanks Paul this was helpful for me to find how to put more into a simple update during migrations. While it is true that you can simply use “Get-MoveRequest | Group-Object Status”
I found that with stringing the Group Object with “Get-MoveRequestStatistics” can give you a little more in your report for instance I used this:
“Get-MoveRequestStatistics -MoveRequestQueue “LgMailboxDatabase” | Group -Property:Status,PercentComplete | Select Name,Count | Format-Table -Auto”
and it gives the below result which allows you to have a percent on your table then you can periodically just click up and enter and bam you can keep track of your progress and know how your particularly large mailboxes are doing.
Name Count
—- —–
Queued, 0 197
InProgress, 63 1
InProgress, 62 1
Completed, 100 2
Why not just “Get-MoveRequest | group status” ?