Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-07-23
Mailbox restore requests are used to restore disconnected mailboxes. A disconnected mailbox is a mailbox object in the Exchange store that isn't associated with an Active Directory user account. Disconnected mailboxes remain in the Exchange database for the duration specified in the deleted mailbox retention settings for the mailbox database. By default, disconnected mailboxes are retained for 30 days. During this retention period, a mailbox can be recovered by connecting it to a new or existing Active Directory user account.
You can view the properties of a mailbox restore request, or you can view the statistics. The properties provide you with basic information about the status of a mailbox restore request. The statistics provide you with detailed information that can be used for troubleshooting purposes.
The search criteria for the Get-MailboxRestoreRequest and Get-MailboxRestoreRequestStatistics cmdlets is a Boolean And statement. If you use multiple parameters, you can narrow your search and reduce your search results.
Looking for other management tasks related to disconnected mailboxes? Check out Managing Disconnected Mailboxes.
Use the Shell to view mailbox restore request properties
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Disconnected mailboxes" entry in the Mailbox Permissions topic.
Note: |
---|
You can't use the EMC to view mailbox restore request properties. |
This example returns the status of the restore request Ayla\MailboxRestore using the Identity parameter.
Copy Code | |
---|---|
Get-MailboxRestoreRequest -Identity "Ayla\MailboxRestore" |
This example returns additional information about the status of the second restore request for the target mailbox with the display name Kweku by pipelining the command to the Format-List cmdlet.
Copy Code | |
---|---|
Get-MailboxRestoreRequest -Identity "Kweku\MailboxRestore1" | Format-List |
This example returns the status of restore requests being restored from the source database MBD01.
Copy Code | |
---|---|
Get-MailboxRestoreRequest -SourceDatabase MBD01 |
This example returns all restore requests named RestoreToMBD01 that have been suspended.
Copy Code | |
---|---|
Get-MailboxRestoreRequest -Name "RestoreToMBD01" -Suspend $true |
For detailed syntax and parameter information, see Get-MailboxRestoreRequest.
Get-MailboxRestoreRequest Output
Be default, the Get-MailboxRestoreRequest cmdlet returns the name of the request, the target mailbox to which data is being restored, and the status of the request. The following table lists the information returned if you pipeline the cmdlet to the Format-List cmdlet.
Value | Description |
---|---|
|
Specifies the database that contains the disconnected mailbox being restored. |
|
Specifies the database that contains the mailbox or archive to which the mailbox is being restored. |
|
Specifies the mailbox into which data is being restored. |
|
Specifies the name of the request. |
|
Specifies the GUID of the request. |
|
Specifies the database on which the Microsoft Exchange Mailbox Replication service (MRS) stores the detailed status of the request. |
|
Specifies flags that the cmdlet automatically sets when creating the request. |
|
Specifies a batch name. If you didn't provide a batch name, this field is blank. |
|
Specifies the status of the request. |
|
Specifies whether the request was created to be automatically suspended before completion. |
|
Specifies whether the request is a push or a pull. For mailbox
restore requests, this value is always |
|
Specifies whether the request is |
|
If the request is performed in a multi-tenant organization, this value specifies the identity of the organization on which the request is performed. |
|
Specifies the identity of the request. This identity is a combination of the target mailbox name and the request name. |
|
Specifies whether the mailbox restore request is valid. |
Use the Shell to view mailbox restore request statistics
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Disconnected mailboxes" entry in the Mailbox Permissions topic.
Note: |
---|
You can't use the EMC to view mailbox restore request statistics. |
This example returns the default statistics for the restore request Tony\MailboxRestore1. By default, the information returned includes name, mailbox, status, and percentage complete.
Copy Code | |
---|---|
Get-MailboxRestoreRequestStatistics -Identity Tony\MailboxRestore1 |
This example returns the statistics for Tony Smith's mailbox and exports the report to a .csv file.
Copy Code | |
---|---|
Get-MailboxRestoreRequestStatistics -Identity Tony\MailboxRestore | Export-CSV \\SERVER01\RestoreRequest_Reports\Tony_Restorestats.csv |
This example returns additional information about the restore request for Tony Smith's mailbox using the IncludeReport parameter and pipelining the results to the Format-List cmdlet.
Copy Code | |
---|---|
Get-MailboxRestoreRequestStatistics -Identity Tony\MailboxRestore -IncludeReport | Format-List |
This example returns default statistics for a restore request being processed by the instance of MRS running on the Client Access server CAS01. This command returns only information for restore requests currently being processed by an instance of MRS. If the Client Access server is finished processing all restore requests, no information is returned. This command is for debugging purposes and should only be performed if requested by support personnel.
Copy Code | |
---|---|
Get-MailboxRestoreRequestStatistics -MRSInstance CAS01.contoso.com |
This example returns additional information for all
restore requests that have a status of Failed
using
the IncludeReport parameter, and then saves the information
to the file AllRestoreReports.txt in the location where the command
is being run.
Copy Code | |
---|---|
Get-MailboxRestoreRequest -Status Failed | Get-MailboxRestoreRequestStatistics -IncludeReport | Format-List > AllRestoreReports.txt |
For detailed syntax and parameter information, see Get-MailboxRestoreRequestStatistics and Get-MailboxRestoreRequest.
Get-MailboxRestoreRequestStatistics Output
By default, the Get-MailboxRestoreRequestStatistics cmdlet returns the name of the request, the status of the request, the alias of the target mailbox, and the percentage completed. The following table lists the information returned if you pipeline the cmdlet to the Format-List cmdlet.
Value | Description |
---|---|
|
Specifies the name of the request. |
|
Specifies the status of the request. |
|
Specifies more details about the request status. For example, if
the |
|
Specifies how far along the request is through the restore process. |
|
Specifies flags that the cmdlet automatically sets when creating the mailbox restore request. |
|
Specifies whether the request is |
|
Specifies whether the request is a push or a pull. For mailbox
restore requests, this value is always |
|
Reserved for Microsoft internal use only. |
|
Specifies whether the restore request is suspended. This value
is
|
|
Specifies the GUID of the source mailbox from which data is being restored. |
|
Specifies the name of the root folder in the source mailbox's hierarchy from which data is being restored. If this value is blank, data is restored from the folder Top of Information Store. |
|
Specifies the version of Exchange running on the database in which the source mailbox is located. |
|
Specifies the name of the database on which the source mailbox is located. |
|
Specifies that the mailbox being restored is either
|
|
Specifies the alias of the target mailbox. |
|
Specifies whether the mailbox is being restored into an archive. |
|
Specifies the GUID of the target mailbox or archive. |
|
Specifies the name of the root folder in the mailbox's or archive's hierarchy to which data is being restored. If this value is blank, data is restored to the folder Top of Information Store. |
|
Specifies the version of Exchange running on the Mailbox server on which the target database is mounted. |
|
Specifies the name of the database on which the target mailbox is located. |
|
Specifies the identity of the target mailbox. |
|
Specifies the list of folders to include during the restore. If this value is blank, no folders were specified when the request was created, and all folders will be restored to the mailbox or archive (unless the ExcludeFolders parameter is used to exclude specific folders). |
|
Specifies the list of folders to exclude during the restore. If this value is blank, no folders were specified when the request was created, and all folders will be restored to the mailbox or archive (unless the IncludeFolders parameter is used to include specific folders). |
|
Specifies whether the Recoverable Items folder was excluded when the request was created. |
|
Specifies the action for MRS to take if there are matching messages in the target and source folders. |
|
Specifies whether the associated messages are copied when the request is processed. Associated messages are special messages that contain hidden data with information about rules, views, and forms. |
|
Specifies a batch name. If you don't provide a batch name, this field is blank. |
|
Specifies the number of bad items that MRS will skip if the request encounters corrupted messages. |
|
Specifies the number of corrupted messages encountered by the command. If the BadItemsEncountered value is greater than the BadItemLimit value, the request fails. |
|
Specifies the date and time at which the request was initiated to MRS. |
|
Specifies the date and time at which the restore request started being processed by MRS. |
|
Specifies the date and time at which the last change was made to the request. The change may have been made by an administrator or by MRS. |
|
Specifies the date and time at which the request was suspended. |
|
Specifies the amount of time it took to complete the request. If
the request is in a |
|
Specifies the amount of time the request was in the
|
|
Specifies the amount of time the request was in the
|
|
Specifies the amount of time the request was in the
|
|
Specifies the amount of time the request was in the |
|
Specifies the amount of time the request was stalled due to high availability. |
|
Specifies the name of the Client Access server that processed the request. |
|
Specifies the file size that was restored or the file size that
MRS expects to restore if the request is in the |
|
Specifies the number of items that were restored or the number
of items that MRS expects to restore if the request is in the
|
|
Specifies the total number of bytes that have been transferred. |
|
Specifies the average number of bytes that have been transferred per minute. |
|
Specifies the number of items that have been transferred. |
|
Specifies the percentage of the request that has been completed. |
|
If the request hasn't started, this value specifies the request's position in the queue. |
|
If there is a failure, this value specifies the failure code. |
|
If there is a failure, this value specifies the failure type. |
|
If there is a failure, this value specifies whether the failure occurred on the target mailbox or the source mailbox. |
|
If there is a failure, this value specifies the failure message. This value can also specify the suspend comment. |
|
If the request failed, this value specifies the date and time at which the request failed. |
|
If the request failed, this value specifies information about the action being performed at the time of failure. |
|
Specifies whether the request was valid. |
|
If the request isn't valid, this value specifies the reason. |
|
If the request is performed in a multi-tenant organization, this value specifies the identity of the organization in which the request is performed. |
|
Specifies the GUID of the request. |
|
Specifies the database on which MRS stores the detailed status of the request. |
|
Specifies the identity of the request. |
|
If you used the IncludeReport parameter, this value specifies information that can be used to troubleshoot the request. |