Commands › Exchange Online

Get-PublicFolderMailboxMigrationRequest

Exchange Online ExchangeOnlineManagement Get-*

View the status of individual jobs in public folder migration batches that were created by using the New-MigrationBatch cmdlet.

Quick start script

# Get-PublicFolderMailboxMigrationRequest — 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-PublicFolderMailboxMigrationRequest | Format-List

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

Syntax — 2 parameter sets

Filtering

Get-PublicFolderMailboxMigrationRequest [-BatchName <String>]
 [-DomainController <Fqdn>]
 [-HighPriority <Boolean>]
 [-Name <String>]
 [-RequestQueue <DatabaseIdParameter>]
 [-ResultSize <Unlimited>]
 [-Status <RequestStatus>]
 [-Suspend <Boolean>]
 [<CommonParameters>]

Identity

Get-PublicFolderMailboxMigrationRequest [[-Identity] <PublicFolderMailboxMigrationRequestIdParameter>]
 [-DomainController <Fqdn>]
 [-ResultSize <Unlimited>]
 [<CommonParameters>]

Parameters (9)

ParameterTypeRequiredWhat it controls
-Identity PublicFolderMailboxMigrationRequestIdParameter The Identity parameter specifies the public folder mailbox migration request that you want to view. The value uses the syntax: `\PublicFolderMailboxMigration<GUID>` (for example,...
-BatchName String The BatchName parameter filters the results by the friendly BatchName value that was assigned when the batch job was created. The format of this value is: `MigrationService:<Batch name provided at batch creation>`.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-HighPriority Boolean This parameter is available only in on-premises Exchange.
-Name String The Name parameter specifies the name of the public folder mailbox migration request. If the name was not specified at creation, the default value is `PublicFolderMailboxMigration<GUID>` (for example,...
-RequestQueue DatabaseIdParameter This parameter is available only in on-premises Exchange.
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
-Status RequestStatus The Status parameter filters the results based on status. You can use the following values:
-Suspend Boolean The Suspend parameter specifies whether to return requests that have been suspended. Valid input for this parameter is $true or $false.

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