Introduction – New-MailboxRepairRequest cmdlet

DataHelp Admin | Modified: 2021-02-05T09:31:15+05:30 | Exchange Server

New-MailboxRepairRequest cmdlet is a successor of Isinteg utility. This command will detect the mailbox corruption & repair corruption in Exchange Server mailbox & database. We can run this command against the mailbox or against the whole database.

When this command is executed for a mailbox, we can’t access the mailbox. If we running the command against the database, then we can’t access the mailbox which is being repaired currently. Other mailboxes within the database can be accessed.

There are some limits for repair requests that can be submitted on the server to avoid server performance issues. We can apply only one request for database-level repair or we can apply up to 100 requests for mailbox-level repair.

New-MailboxRepairRequest Cmdlet

New-MailboxRepairRequest
[-Database]
-CorruptionType <mailboxstorecorruptiontype[]>
[-Confirm]
[-DetectOnly]
[-DomainController ]
[-WhatIf]
[[-StoreMailbox] ]
[-Force]
[] </mailboxstorecorruptiontype[]>

Functionalities of Powershell New-MailboxRepairRequest Cmdlet

1: Dismount Database not necessary – New-MailboxRepairRequest command works online, it will detect & repair corruption in mailbox or database without dismounting the database.

2: Allow to repair single Exchange mailbox or whole database – With New MailboxRepairRequest cmdlet we can repair a single mailbox or whole database, but there are limits on the number of repair requests for mailbox-level repair & database-level repair.

Types of Corruption Repair by New-MailboxRepairRequest Cmdlet

This command will detect & repair the following 4 types of corruptions –

1: SearchFolder – Search Folder Corruption.

2: AggregateCounts – Counts number of items & their size in folders, counts the folders which are not reflecting correct values.

3: FolderView – View in folders which is not returning correct data.

4: ProvisionedFolder – Detect error in the folder structure. Detect corruption on the provisioned folder.

Examples to Detect & Repair Exchange Server Mailbox or Database

Here venn@example.com is mailbox and EDB01 is a database.

1 – Follow the given PowerShell command to detect & repair folder views for venn@example.com mailbox

"New-MailboxRepairRequest -Mailbox venn@example.com -CorruptionType FolderView"

2 – The Following command will detect & report corruption issues on Provisioned & Search folder for venn mailbox.

"New-MailboxRepairRequest -Mailbox venn -CorruptionType ProvisionedFolder,SearchFolder -DetectOnly"

3 – The Following command will detect & repair aggregate counts of all mailbox on EDB01 database.

"New-MailboxRepairRequest -Database EDB01 -CorruptionType AggregateCounts"

4 – Following PowerShell command will detect & repair all corruption type for venn mailbox and archive.

"New-MailboxRepairRequest -Mailbox venn -CorruptionType povisionedFolder,SearchFolder,AggregateCounts,Folderview -Archive"

New-MailboxRepairRequest Cmdlet Parameters & Their Uses

-CorruptionType – This parameter specifies the type of corruption which we want to repair.

-Database – Database parameter specify the Exchange database. We have to mention the database name on which we run the repair operation.

-Mailbox – Mailbox parameter specifies the mailbox on which we execute this command.

-Archive – Archive parameter specify the archive mailbox which is associated with the mailbox.

-DetectOnly – This parameter specifies that we want this command to detect & report errors only.

-DomainController – cmdlet used the domain controller to read data & write data to Active Directory. This DomainController parameter specifies the domain controller.

-Force – Force parameter specify that the cmdlet runs immediately.

If user unable to repair the Exchange database by using the Exchange PowerShell command, then he needs to use an automated Exchange database recovery tool to repair the corrupted Exchange Database. This utility provides Quick & Advance scan mode that easily removes corruption from offline/dismounted EDB file and resolve mailbox corruption Exchange 2010/2013/2016.  If the Exchange database file is minimally corrupted, select the quick scan and to recover severely corrupted/damaged .edb file choose the advance scan mode.

After recovery, users can export the recovered and healthy Exchange database mailboxes to the Live Exchange Server, Office 365 and multiple file formats.

Download Now Purchase Now

Conclusion

In this section we explained what is New-MailboxRepairRequest PowerShell command in Exchange Server, this cmdlet applied on Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019. This New-MailboxRepairRequest cmdlet will help to detect & repair corruption of Exchange mailbox or database. To repair Exchange database mailboxes by using this command requires in-depth knowledge, hands-on experience and to avoid all this complexity users can use the automated wizard i.e. mentioned above which provides advanced features that automatically recover & repair highly corrupted EDB file and mailbox with no data loss in a simplified manner.