Export (0) Print
Expand All

Get-MailboxRepairRequest

 

Applies to: Exchange Server 2013

Topic Last Modified: 2014-03-05

This cmdlet is available only in on-premises Exchange Server 2013.

Use the Get-MailboxRepairRequest cmdlet to display information about current mailbox repair requests. Mailbox repair requests are created using the New-MailboxRepairRequest cmdlet to detect and fix mailbox corruptions.

For information about the parameter sets in the Syntax section below, see Syntax.

Get-MailboxRepairRequest -Identity <StoreIntegrityCheckJobIdParameter> [-Detailed <SwitchParameter>] <COMMON PARAMETERS>
Get-MailboxRepairRequest -Database <DatabaseIdParameter> [-StoreMailbox <StoreMailboxIdParameter>] <COMMON PARAMETERS>
Get-MailboxRepairRequest -Mailbox <MailboxIdParameter> [-Archive <SwitchParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-DomainController <Fqdn>]

This example displays the value of the Identity property for all mailbox repair requests for all mailbox servers in your organization; the second command displays information about a specific mailbox repair request that was returned by the first command.

Get-MailboxDatabase | Get-MailboxRepairRequest | FT Identity
Get-MailboxRepairRequest -Identity 5b8ca3fa-8227-427f-af04-9b4f206d611f\335c2b06-321d-4e73-b2f7-3dc2b02d0df5\374289de-b899-42dc-8391-4f8579935f1f | FL

This example displays repair request information for the mailbox of Ann Beebe using the Mailbox parameter.

Get-MailboxRepairRequest -Mailbox "Ann Beebe" | FL

This example uses the Database and StoreMailbox parameters to display the Identity property of the repair request for the mailbox of Ann Beebe.

$MailboxGuid = Get-MailboxStatistics annb
Get-MailboxRepairRequest -Database $MailboxGuid.Database -StoreMailbox $MailboxGuid.MailboxGuid | FL Identity

The Get-MailboxRepairRequest cmdlet displays information about mailbox repair requests. This information includes:

  • The mailbox GUID.

  • The type of corruption that was specified when the mailbox repair request was created.

  • The progress of the repair request in percentage of completion.

  • The number of corruptions detected and fixed.

  • The status of the repair request; values are Queued, Running, Succeeded and Failed.

  • The date and time when the mailbox repair request was created and when it finished.

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 "Mailbox repair request" entry in the Recipients permissions topic.

 

Parameter Required Type Description

Database

Required

Microsoft.Exchange.Configuration.Tasks.DatabaseIdParameter

The Database parameter specifies the database on which you run this command. If you use this parameter, all mailboxes on the database are searched for corruptions. You can use the following values:

  • GUID of the database

  • Database name

You can't use this parameter with the Mailbox parameter.

Identity

Required

Microsoft.Exchange.Management.Tasks.StoreIntegrityCheckJobIdParameter

The Identity parameter specifies the mailbox repair request to display information about. Mailbox repair requests are identified by a complex GUID that is created when a new mailbox repair request is created. This GUID consists of a database ID, a Request ID, and a job ID. The format is <DatabaseGuid>\<RequestGuid>\<JobGuid>.

Mailbox

Required

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

The Mailbox parameter specifies the mailbox that you want to get mailbox repair request information about. You can use the following values:

  • GUID

  • Distinguished name (DN)

  • Domain\Account

  • User principal name (UPN)

  • LegacyExchangeDN

  • SMTP address

  • Alias

You can't use this parameter with the Database parameter.

Archive

Optional

System.Management.Automation.SwitchParameter

If the associated archive mailbox was included when the mailbox repair request was created, use the Archive parameter to display information about the archive mailbox. If you don't specify this parameter, only information about the primary mailbox is returned.

You can't use this parameter with the Database parameter.

Detailed

Optional

System.Management.Automation.SwitchParameter

Use the Detailed parameter to display mailbox-level repair tasks associated with the repair request.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

StoreMailbox

Optional

Microsoft.Exchange.Configuration.Tasks.StoreMailboxIdParameter

The StoreMailbox parameter specifies the mailbox GUID of the mailbox that you want to get mailbox repair request information about. Use this parameter with the Database parameter.

Use the Get-MailboxStatistics cmdlet to find the mailbox GUID for a mailbox.

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.

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.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft