Commands › Exchange Online

Get-MigrationEndpoint

Exchange Online ExchangeOnlineManagement Get-*

Retrieve migration endpoint settings for source or destination servers for cutover or staged Exchange migrations, IMAP migrations, and remote moves.

Quick start script

# Get-MigrationEndpoint — 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-MigrationEndpoint -ConnectionSettings <ExchangeConnectionSettings> -Type <MigrationType> | Format-List

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

Syntax — 3 parameter sets

ConnectionSettingsFilter

Get-MigrationEndpoint -ConnectionSettings <ExchangeConnectionSettings>
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

TypeFilter

Get-MigrationEndpoint -Type <MigrationType>
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DomainController <Fqdn>]
 [-Partition <MailboxIdParameter>]
 [-DiagnosticInfo <String>]
 [<CommonParameters>]

Identity

Get-MigrationEndpoint [[-Identity] <MigrationEndpointIdParameter>]
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DomainController <Fqdn>]
 [-Partition <MailboxIdParameter>]
 [-DiagnosticInfo <String>]
 [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-Identity MigrationEndpointIdParameter The Identity parameter specifies the name of the migration endpoint you want to retrieve settings for.
-ConnectionSettings ExchangeConnectionSettings yes This parameter is available only in on-premises Exchange.
-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.
-Partition MailboxIdParameter This parameter is available only in the cloud-based service.
-Type MigrationType yes The Type parameter filters the results by the type of migration. Valid values for this parameter are:

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