Commands › Exchange Online

Get-MailboxExportRequestStatistics

Exchange Online ExchangeOnlineManagement Get-*

View detailed information about export requests. To use this cmdlet, you need to add the Mailbox Import Export role to a role group (for example, to the Organization Management role group). For more information, see Add a role to a role group.

Quick start script

# Get-MailboxExportRequestStatistics — 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-MailboxExportRequestStatistics -Identity <MailboxExportRequestIdParameter> -MRSInstance <Fqdn> -RequestQueue <DatabaseIdParameter> | Format-List

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

Syntax — 3 parameter sets

Identity

Get-MailboxExportRequestStatistics [-Identity] <MailboxExportRequestIdParameter>
 [-DomainController <Fqdn>]
 [-IncludeReport]
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DiagnosticInfo <String>]
 [-ReportOnly]
 [<CommonParameters>]

MRSInstance

Get-MailboxExportRequestStatistics -MRSInstance <Fqdn>
 [-DomainController <Fqdn>]
 [-RequestGuid <Guid>]
 [<CommonParameters>]

MigrationRequestQueue

Get-MailboxExportRequestStatistics -RequestQueue <DatabaseIdParameter>
 [-DomainController <Fqdn>]
 [-IncludeReport]
 [-RequestGuid <Guid>]
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-ReportOnly]
 [<CommonParameters>]

Parameters (10)

ParameterTypeRequiredWhat it controls
-Identity MailboxExportRequestIdParameter yes The Identity parameter specifies the identity of the export request. By default, export requests are named `<alias>\MailboxExportX` (where X = 0-9). If you specified a name for the export request when it was created...
-MRSInstance Fqdn yes The MRSInstance parameter specifies the fully qualified domain name (FQDN) of the Client Access server on which the Microsoft Exchange Mailbox Replication service (MRS) resides. When using this parameter, all records...
-RequestQueue DatabaseIdParameter yes This parameter is for debugging purposes only.
-Diagnostic SwitchParameter The Diagnostic switch specifies whether to return extremely detailed information in the results. You don't need to specify a value with this switch.
-DiagnosticArgument String The DiagnosticArgument parameter modifies the results that are returned by using the Diagnostic switch. Typically, you use the Diagnostic switch and the DiagnosticArgument parameter only at the request of Microsoft...
-DiagnosticInfo String This parameter is available only in the cloud-based service.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-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.
-ReportOnly SwitchParameter The ReportOnly switch returns the results as an array of report entries (encoded strings). You don't need to specify a value with this switch.
-RequestGuid Guid The RequestGuid parameter specifies the unique identifier for the export request. To find the export request GUID, use the Get-MailboxExportRequest cmdlet. If you specify the RequestGuid parameter, you must also...

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