
Exchange Mailbox Testing
Created: 2019-12-11 22:06:34 | Last modified: 2019-12-11 22:13:10Access: Read | Views: 45 | Rating: +1 | Tags: exchange
A list of commands to see if a mailbox is corrupted
Every now and again there can be an issue with an Exchange mailbox, a way to test this is to use the MailBoxRepairRequest command to detect if there is an issue with corruption.
To start a detect for a particular mailbox
New-MailboxRepairRequest -Mailbox MAILBOXNAME -CorruptionType ProvisionedFolder,SearchFolder –DetectOnlyTo view the progress for a particular repair request for a mailbox
Get-MailboxRepairRequest -Mailbox MAILBOXNAMEIf progress shows that there is corruption, you can run the following command to repair it
#For all folders New-MailboxRepairRequest -Mailbox MAILBOXNAME -CorruptionType ProvisionedFolder,SearchFolder, AggregateCounts,Folderview -Archive #For a single folder New-MailboxRepairRequest -Mailbox MAILBOXNAME -CorruptionType FolderView