Commands › Exchange Online

Get-MigrationUserStatistics

Exchange Online ExchangeOnlineManagement Get-*

View detailed information about the migration requested for a specific user.

Quick start script

# Get-MigrationUserStatistics — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-MigrationUserStatistics -Identity <MigrationUserIdParameter> | Format-List

# 3. Export for evidence / drift tracking
Get-MigrationUserStatistics | Export-Clixml .\MigrationUserStatistics-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-MigrationUserStatistics [-Identity] <MigrationUserIdParameter>
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DiagnosticInfo <String>]
 [-DomainController <Fqdn>]
 [-IncludeCopilotReport]
 [-IncludeReport]
 [-IncludeSkippedItems]
 [-LimitSkippedItemsTo <Int32>]
 [-Partition <MailboxIdParameter>]
 [-SkipSubscription]
 [<CommonParameters>]

Parameters (11)

ParameterTypeRequiredWhat it controls
-Identity MigrationUserIdParameter yes The Identity parameter specifies the user that you want to retrieve migration information about. Use an email address as the value for this parameter.
-Diagnostic SwitchParameter This parameter is available only in on-premises Exchange.
-DiagnosticArgument String This parameter is available only in on-premises Exchange.
-DiagnosticInfo String This parameter is available only in the cloud-based service.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-IncludeCopilotReport SwitchParameter This parameter is available only in the cloud-based service.
-IncludeReport SwitchParameter The IncludeReport switch specifies whether to return additional details, which can be used for troubleshooting. You don't need to specify a value with this switch.
-IncludeSkippedItems SwitchParameter The IncludeSkippedItems switch specifies whether to include skipped items for the user. You don't need to specify a value with this switch.
-LimitSkippedItemsTo Int32 The LimitSkippedItemsTo parameter specifies the maximum number of skipped items to display information about in the SkippedItems property in command output. For example, if this parameter is set to 5, the cmdlet...
-Partition MailboxIdParameter This parameter is available only in the cloud-based service.
-SkipSubscription SwitchParameter The SkipSubscription switch specifies whether to skip loading the subscription for the user. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.