PowerTip: Use PowerShell to Get List of Migration Batches in Office 365


Summary: Use Windows PowerShell to identify all migration batches and their status in Office 365.

Hey, Scripting Guy! Question Rather than navigating the Office 365 console to check the status of a migration, is there an easy way
           to do it with Windows PowerShell?

Hey, Scripting Guy! Answer To get list of all migration batches in Office 365 and their status, simply run Get-MigrationBatch.


Comments (1)

  1. Steve Lindsey says:

    Hello,

    So we all know the 365 portal GUI is utter trash (maybe not trash, but a slow moving snail)

    I am an North Eastern USA person, we like things fast! & want our data even faster.

    Needless to say, there is a need to identify the actual users in a batch, What i am surprised to find (or lack thereof ) is a way to use Get-migrationbatch, & then pipe that over to something else or even an expand on one of its properties to actually show
    me WHICH users are in that specific batch.

    Unless im blind, but i am unable to find a way to do so….

    Dont get me wrong i know i can easily do :

    Get-moverequest | where {$_.Batchname -like "EndUsersSuck"} | select name

    to show me all the users in the EndUsersSuck batch, but still wish i could just do get-migrationbatch | select -expandproperty Users or something along those lines

    any suggestions?

Skip to main content