Exchange Server & MS Outlook Blog

‘New-MailboxRepairRequest’ Cmdlet to Repair Exchange 2016 Mailbox Database

Summary: New-MailboxRepairRequest is considered as the successor of Exchange Isinteg utility. In this post, you learn everything about the New-MailboxRepairRequest cmdlet, including how to use the cmdlet to repair Exchange 2016 mailbox database.

There are a number of issues that Exchange Administrators experience in their daily routine, ranging from wrong public folder counts in the user mailbox and search items to inaccessible public folders and database corruption. With the introduction of New-MailboxRepairRequest cmdlet, it becomes easier for Exchange Admins to repair Exchange 2016 mailboxes and database.

Figure 1: New-MailboxRepairRequest cmdlet
IMPORTANT NOTE: New-MailboxRepairRequest cmdlet is only available in on-premises Exchange Server 2016. You can use an Exchange recovery software, such as Stellar Repair for Exchange when New-MailboxRepairRequest is not available or fails to repair Exchange mailbox due to severe corruption or lack of permissions.

More About New-MailboxRepairRequest

The New-MailboxRepairRequest cmdlet is used to find and fix Exchange mailbox corruption problems. This command can be executed to repair a particular mailbox or all mailboxes in the Exchange database.
When the cmdlet is executed, access to the specified mailbox (being repaired) is temporarily disrupted. However, if the command is run to repair all mailboxes in the database, the connection to only one mailbox that is being repaired is disrupted during the execution of the command. All other mailboxes prevailing in the specific database remain accessible and operational.

Why Use New-MailboxRepairRequest cmdlet to Repair Exchange Mailbox?

What Mailbox Corruptions Can be Repaired using New-MailboxRepairRequest cmdlet?

The cmdlet can be used to repair corrupt Exchange mailbox in the following cases of mailbox corruption:

Is there any Permission or Authorization Required to Use New-MailboxRepairRequest?

Before executing New-MailboxRepairRequest cmdlet, there are specific permissions that need to be assigned to you for Exchange 2016 database repair. There can be several parameters of the cmdlet that you are not permitted to access, if they are not included in the permissions being assigned to you.
To know more about the permissions required to run various New-MailboxRepairRequest cmdlet parameters, see this post.
The cmdlet works online with Exchange database. Hence, it doesn’t demand dismounting the database to repair mailboxes and fix errors.

Various Parameters to Detect Database Problem

You can use the following cmdlet parameters to detect what permissions are granted to them.

New-MailboxRepairRequest cmdlet Execution Examples for Mailbox Repair

Let’s understand how to use the New-MailboxRepairRequest to detect and repair Exchange 2016 database mailboxes with the help of following examples.

New-MailboxRepairRequest –Mailbox –CorruptionType FolderView

New-MailboxRepairRequest -Mailbox TOM -CorruptionType ProvisionedFolder,SearchFolder –DetectOnly

New-MailboxRepairRequest -Database Example-DB01 -CorruptionType AggregateCounts

New-MailboxRepairRequest -Mailbox Tom -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview –Archive

$Mailbox = Get-MailboxStatistics Tom; New-MailboxRepairRequest-Database$Mailbox.Database-StoreMailbox$Mailbox.MailboxGuid – CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Foldervie

Cmdlet Repair Status Check

Executing New-MailboxRepairRequest does not deliver any feedback information in the Exchange Management Shell (EMS). You will need to check feedback logs in Application in Event Viewer under MS ExchangeIS Mailbox Store.

Alternatively, you can use Get-MailboxRepairRequest cmdlet to show the status of Exchange mailbox or database repair.

Figure 2: Get-MailboxRepairRequest to check repair status

While executing the New-MailboxRepairRequest cmdlet to repair Exchange 2016 mailboxes or the database, if you experience any error or repair task fails, you can use an advance Exchange mailbox repair tool such as Stellar Repair for Exchange. It is an Exchange repair and recovery software that can help you repair corrupt mailboxes, extract mail items from severely corrupt or damaged mailboxes and Exchange database. The tool can help you handle all sorts of corruption, irrespective of the intensity of damage, be it at a lower or a higher level. You may download it for free and try yourself Here.

Exit mobile version