One-Liners: Exchange Mailbox Migrations
As many of you Sys Admins out there know Exchange migrations are INTENSE times. The topic of Exchange Mailbox Migrations is broad enough that an entire mini-series of postings could be dedicated to it. Unfortunately these migrations are also time intensive so I won’t be creating that mini-series here today….but maybe in the future. Instead I thought I would share my most used one-liner that I absolutely wear out during mailbox migrations. It all revolves around the Get-MoveRequest cmdlet.
During a mailbox migration the number one thing we are monitoring is how many mailboxes have completed and what the status is of all the ones that haven’t completed. Here is my really simple one-liner that will give you all the information you need.
Get-MoveRequest -MoveStatus InProgress | Get-MoveRequestStatistics
This single line of code will return all of the move requests that are currently in progress, what their status detail is, and their percent complete. There is a lot more information that you can get out of the
Get-MoveRequestStatistics cmdlet, but that’s another post for another day.
As always your comments and questions are welcomed. If you like what you’ve read please leave a comment or review and make sure you sign up for our newsletter so you know when the latest blog post arrive.