Exchange server is a collaborative mail server that stores entire data in Extensible Storage Database File (.edb file). There are many logical and physical issues that can affect the edb file and interrupt the working of the operations of edb file. In such situation Exchange Administrator need to resolve the issues behind edb file corruption. Microsoft provides a command line to resolve the exchange errors so in this blog I am going to discuss how to use new-mailboxrepairrequest to repair the exchange database file and fix the issues.
Before running the Repair request you need to run first Get-MailboxRepairRequest cmdlet which will display the information about the exchange mailbox and after that run the New-MailboxRepairRequest to repair the database and fix the error.
Get-MailboxRepairRequest will Display: -
The New-MailboxRepairRequest will Fix the Following Errors: -
Now run the command to view the level of corruption and detect the corruption issues.
New-MailboxRepairRequest –Mailbox Mack–CorruptionTypeProvisionedFolder,SearchFolder,SearchFolder,AggergateCount,FolderView-DetectOnly
Note: - If the New-MailboxRepairRequest command does not show any result then you need to fetch the event log application from Microsoft Exchange Server and you need to specify the a particular recovery for the event id shown in the exchange event log file, some event id's given below with their status.
When you will execute the New-MailboxRepairRequest one of the message will appear with the event id. If you are getting the Event ID 10049 it shows that the repair request unable to proceed and in such situation you will have to use Exchange Recovery Software to fix repair the exchanger mailbox and fix the error. This software will detect the corruption in mailbox and then fix all the issues easily.