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

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


  1. Hello, I wanted to thank you for the good content of your site. I always follow you. That is it. good job

    Reply

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.