Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-12-11
Use the Get-MailboxExportRequest cmdlet to view the detailed status of an ongoing export request that was initiated by using the New-MailboxExportRequest cmdlet.
Syntax
Get-MailboxExportRequest [-Identity
<MailboxExportRequestIdParameter>] [-DomainController
<Fqdn>] [-MultiTenant <SwitchParameter>] [-Organization
<OrganizationIdParameter>] [-ResultSize
<Unlimited>]
|
Get-MailboxExportRequest [-BatchName <String>]
[-Database <DatabaseIdParameter>] [-DomainController
<Fqdn>] [-HighPriority <$true | $false>] [-Mailbox
<MailboxOrMailUserIdParameter>] [-MultiTenant
<SwitchParameter>] [-Name <String>] [-Organization
<OrganizationIdParameter>] [-ResultSize <Unlimited>]
[-Status <None | Queued | InProgress | AutoSuspended |
CompletionInProgress | Completed | CompletedWithWarning | Suspended
| Failed>] [-Suspend <$true | $false>]
|
Detailed Description
The search criteria for the Get-MailboxExportRequest cmdlet is a Boolean And statement. If you use multiple parameters, you narrow your search and reduce your search results.
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 "Import Export" entry in the Mailbox Permissions topic.
Parameters
Parameter | Required | Type | Description | ||
---|---|---|---|---|---|
Identity |
Optional |
Microsoft.Exchange.Management.RecipientTasks.MailboxExportRequestIdParameter |
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 the request was created using the New-MailboxExportRequest cmdlet, use the following syntax: <alias>\<name>. Microsoft Exchange Server 2010 automatically precedes the request with the mailbox's alias. This parameter can't be used in conjunction with the following parameters:
|
||
BatchName |
Optional |
System.String |
The BatchName parameter specifies the name given to a batch export request. You can't use this parameter in conjunction with the Identity parameter. |
||
Database |
Optional |
Microsoft.Exchange.Configuration.Tasks.DatabaseIdParameter |
The Database parameter specifies the database in which the user's mailbox or archive resides. You can use the following values:
You can't use this parameter in conjunction with the Identity parameter. |
||
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory. |
||
HighPriority |
Optional |
System.Boolean |
The HighPriority parameter specifies the cmdlet returns requests that were created with the HighPriority flag. The HighPriority flag indicates that the requests should be processed before other lower priority requests in the queue. You can't use this parameter in conjunction with the Identity parameter. |
||
Mailbox |
Optional |
Microsoft.Exchange.Configuration.Tasks.MailboxOrMailUserIdParameter |
The Mailbox parameter specifies the identity of the mailbox or mail user. You can use the following values:
You can't use this parameter in conjunction with the Identity parameter. |
||
MultiTenant |
Optional |
System.Management.Automation.SwitchParameter |
This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support. The MultiTenant parameter specifies that the search should be performed across the entire forest, not just across the organization that's currently scoped. You don't have to specify a value with this parameter. |
||
Name |
Optional |
System.String |
The Name parameter specifies that export requests that have the specified name are returned. Use this parameter to search on the name that you provided when you created the export request. If you didn't specify a name when the request was created, the default name is MailboxExportX (where X = 0–9). You can't use this parameter in conjunction with the Identity parameter. |
||
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support. The Organization parameter specifies the organization in which you'll perform this action. This parameter doesn't accept wildcard characters, and you must use the exact name of the organization. |
||
ResultSize |
Optional |
Microsoft.Exchange.Data.Unlimited |
The ResultSize parameter specifies the maximum number of
results to return. If you want to return all requests that match
the query, use |
||
Status |
Optional |
Microsoft.Exchange.Data.Directory.Recipient.RequestStatus |
The Status parameter specifies that export requests with the specified status are returned. You can use the following values:
You can't use this parameter in conjunction with the Identity parameter. |
||
Suspend |
Optional |
System.Boolean |
The Suspend parameter specifies whether to return
mailboxes with moves that have been suspended. This parameter
accepts You can't use this parameter in conjunction with the Identity parameter. |
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.
Examples
EXAMPLE 1
This example returns the status of the ongoing export request with the identity tony\DB01toPST.
Copy Code | |
---|---|
Get-MailboxExportRequest -Identity "tony\DB01toPST" |
EXAMPLE 2
This example returns the status of in progress export requests for mailboxes or archives that reside on database DB01.
Copy Code | |
---|---|
Get-MailboxExportRequest -Status InProgress -Database DB01 |
EXAMPLE 3
This example returns the status of export requests in the Attachment_CompanyReport batch that completed.
Copy Code | |
---|---|
Get-MailboxExportRequest -BatchName "Attachment_CompanyReport" -Status Completed |
EXAMPLE 4
This example returns all export requests that have the name DB01toPST where the export has been suspended.
Copy Code | |
---|---|
Get-MailboxExportRequest -Name "DB01toPST" -Suspend $true |