Applies to: Exchange Server 2013

Topic Last Modified: 2013-01-02

Use the Get-MigrationUser cmdlet to view information about move and migration users.

For information about the parameter sets in the Syntax section below, see Syntax.

Syntax

Get-MigrationUser [-Identity <MigrationUserIdParameter>] <COMMON PARAMETERS>
Get-MigrationUser -MailboxGuid <Guid> <COMMON PARAMETERS>
Get-MigrationUser [-BatchId <MigrationBatchIdParameter>] [-Status <Queued | Syncing | Failed | Synced | IncrementalFailed | Completing | Completed | CompletionFailed | Corrupted | Provisioning | ProvisionUpdating | CompletionSynced | Validating | IncrementalSyncing | IncrementalSynced | CompletedWithWarnings | Stopped | IncrementalStopped>] [-StatusSummary <Active | Failed | Synced | Completed | Stopped>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-DomainController <Fqdn>] [-Organization <OrganizationIdParameter>] [-ResultSize <Unlimited>]

Examples

EXAMPLE 1

This example retrieves status information about the recently migrated user, Tony Smith.

Copy Code
Get-MigrationUser -Identity TonySmith@contoso.com

EXAMPLE 2

This example retrieves more detailed information about any ongoing migration for the user with the specified mailbox GUID.

Copy Code
Get-MigrationUser -MailboxGuid b6a6795c-a010-4f67-aaaa-da372d56fcb9 | Get-MigrationUserStatistics

Detailed Description

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Mailbox move and migration permissions" section in the Recipients Permissions topic.

Parameters

Parameter Required Type Description

MailboxGuid

Required

System.Guid

The MailboxGuid parameter specifies the GUID of a mailbox for which you want to view the migration information.

BatchId

Optional

Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter

The BatchId parameter specifies the name of the migration batch for which you want to return users.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter is reserved for internal Microsoft use.

Identity

Optional

Microsoft.Exchange.Management.Migration.MigrationUserIdParameter

The Identity parameter specifies the particular user that you want to retrieve information about. The Identity parameter is represented as an email address.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

ResultSize

Optional

Microsoft.Exchange.Data.Unlimited

The ResultSize parameter specifies the maximum number of results to return. If you want to return all users that match the query, use unlimited for the value of this parameter. The default value is 1000.

Status

Optional

Microsoft.Exchange.Data.Storage.Management.MigrationUserStatus

The Status parameter returns information about migration users that have the specified status state. Use one of the following values:

  • Queued

  • Started

  • Failed

  • Synced

  • IncrementalSyncFailed

  • FinalizeStarted

  • FinalizeCompleted

  • FinalizeFailed

  • Corrupted

  • ProvisioningPending

  • ProvisioningUpdatePending

  • FinalizeSyncCompleted

  • ValidationPending

  • IncrementalSyncStarted

  • IncrementalSynced

    Stopped

    IncrementalStopped

StatusSummary

Optional

Microsoft.Exchange.Data.Storage.Management.MigrationUserStatusSummary

The StatusSummary parameter returns abbreviated information about migration users that have the specified status value. Use one of the following values:

  • Active

  • Failed

  • Synced

  • Completed

    Stopped

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.