Commands › Exchange Online

Get-PublicFolderMoveRequest

Exchange Online ExchangeOnlineManagement Get-*

View the detailed status of an ongoing public folder move that was initiated using the New-PublicFolderMoveRequest cmdlet.

Quick start script

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

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

Syntax — 2 parameter sets

Identity

Get-PublicFolderMoveRequest [[-Identity] <PublicFolderMoveRequestIdParameter>]
 [-DomainController <Fqdn>]
 [-Organization <OrganizationIdParameter>]
 [-ResultSize <Unlimited>]
 [<CommonParameters>]

Filtering

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

Parameters (10)

ParameterTypeRequiredWhat it controls
-Identity PublicFolderMoveRequestIdParameter The Identity parameter specifies the identity of the public folder move request. The default identity assigned to public folder move requests is \\PublicFolderMove.
-BatchName String The BatchName parameter specifies the name that was given to a batch public folder move request.
-DomainController Fqdn This parameter is functional only in on-premises Exchange.
-HighPriority Boolean The HighPriority parameter filters the results based on the Priority value that was assigned when the request was created. Valid input for this parameter is $true or $false. Here's how these values filter the results:
-Name String The Name parameter specifies the name of the public folder move request. If you didn't specify a name when creating the move request, PublicFolderMove is the default name assigned to the request.
-Organization OrganizationIdParameter This parameter is available only in the cloud-based service.
-RequestQueue DatabaseIdParameter The RequestQueue parameter identifies the request based on the mailbox database where the request is being run. You can use any value that uniquely identifies the database. For example:
-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.