How to fix index failed state on exchange with dag

Open Exchange Powershell to get all the bad index:

To get all the bad index:

Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

Get bad copy status :

Get-MailboxDatabaseCopyStatus * | where {$_.Status -eq "FailedAndSuspended"}

To fix all :

Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"} | Update-MailboxDatabaseCopy -CatalogOnly

 

fix one database :

Update-MailboxDatabaseCopy "Database_Name\Server_name" -CatalogOnly
C:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\ResetSearchIndex.ps1 -force Database_Name

Leave a Reply

Your email address will not be published. Required fields are marked *