How to Use New-MailboxRepairRequest – A Complete Tutorial
New-MailboxRepairRequest is a PowerShell cmdlet that allows Exchange administrators to perform a repair process on damaged Exchange mailboxes. Before this cmdlet, IsInteg was used to perform the same tasks. This command can help users to repair specific or multiple Exchange mailboxes at once.
In the following write-up, we are going to discuss a detailed guide on how you can use this New-MailboxRepairRequest. There are a couple of errors as well that might occur due to mailbox damage like outdated mailboxes, missing mail items, inaccessible mail folders, etc. If you are also facing similar errors, then also you can use this New-MailboxRepairRequest PowerShell cmdlet to get them fixed.
Points to be Noted Before Running New-MailboxRepairRequest
Before directly jumping to the repair process, you need to take care of a couple of points before using the aforementioned command:
- There are a certain set of permissions and roles that you must assign to a user account in order to use this command.
- Once you start the repair process using this New-MailboxRepairRequest PowerShell command, there is no way to stop it in between. The only way to stop the repair process is by dismounting the database from Exchange and it isn’t recommended at all. The dismounting process during the repair operation will not only damage the mailboxes that were being repaired but will also damage all the mailboxes in the database.
- This command can only be performed on a single database at a time or up to 100 mailboxes at a time.
- During the repair process, there will be a disruption in accessing the mailbox that is being repaired using the New-MailboxRepairRequest command.
- This PowerShell cmdlet only works on the mounted database. It means that if you have a dismounted database and want to repair mailboxes within that database, then you first need to mount that database again to the Server. If you can’t mount the database to the server, then you can use a third-party application for the same.
The parameters that you can use with the discussed command are as follows:
- SearchFolder – It helps you to fix SearchFolder errors.
- AggregateCounts – Use this command to fix Aggregate Counts on folders that don’t display the correct value of email items.
- FolderView – Helps repair the views on folders.
- ProvisionedFolder – This parameter enables you to fix folders that are not pointing to the correct parent folders.
Step by Step Tutorial to Use New-MailboxRepairRequest Cmdlet
As discussed in the above section, if you have assigned all the necessary permissions and roles, then you can start using this command in Exchange Management Shell.
Now, the first step involves detecting the issues in the mailbox database.
New-MailboxRepairRequest -Mailbox User1 -CorruptionType ProvisionedFolder,SearchFolder -DetectOnly
When the issue is detected, you can run the following command to run a repair process. This command will
New-MailboxRepairRequest -Mailbox User@domain.com -CorruptionType FolderView
Now, to fix all kinds of corruption from the user mailbox and archive mailbox, you can use the below command:
New-MailboxRepairRequest -Mailbox User1 -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview -Archive
To detect and repair the AggregateCounts of all mailboxes, use the following command:
New-MailboxRepairRequest -Database DB01 -CorruptionType AggregateCounts
Additionally, you can also combine all these parameters and repair all types of corruption. The command for the same is as follows:
New-MailboxRepairRequest –Mailbox firstname.lastname@example.org –CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView
You can also use this command to repair the mailbox DB:
New-MailboxRepairRequest –Database “MBXDB01” –CorruptionType ProvisionedFolder –DetectOnly
Perfect Alternative of New-MailboxRepairRequest PowerShell Cmdlet
If you find these commands a bit complex to use and need an effortless utility that can help you perform an in-depth repair on mailboxes, then you must try the smart Exchange EDB file repair tool. This utility does not require any sort of command or Live Exchange Server environment to carry out the repair process.
Furthermore, you get an option to either export the data into PST format or directly import it into the Live Exchange Server. There are various other export options other than these two as well – PDF, MSG, EML, MBOX, Office 365, and HTML.
No matter if your Exchange mailbox has minor or severe corruption, the software has two scan options – Quick and Advance. Depending on the corruption level, you can choose the particular scan and repair your damaged data.
As we all know that Exchange Server is prone to corruption. So, it is necessary to keep the database safe & secure from corruption to prevent data loss. Now users have complete information on how to use New-MailboxRepairRequest to repair corruption from mailboxes. Moreover, we have also discussed an automated solution that experts rate it as its perfect alternative.