How to check the database content index status (Failed) and update the catalog via Powershell

a) This will return a result of all DB with Content Index State  failed.

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

b) By using the following command we can update the content index status of all the failed DBs.

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

c) Following command will help to narrow down to a particular failed database.

Update-MailboxDatabaseCopy -Identity DATABASE\ServerName -CatalogOnly

Leave a Reply

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