{"id":131,"date":"2016-12-11T21:14:50","date_gmt":"2016-12-11T19:14:50","guid":{"rendered":"http:\/\/itsimple.info\/?p=131"},"modified":"2016-12-11T21:25:34","modified_gmt":"2016-12-11T19:25:34","slug":"how-to-fix-exchange-index-failed-state-with-dag","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=131","title":{"rendered":"How to fix index failed state on exchange with dag"},"content":{"rendered":"<p>Open Exchange Powershell to get all the bad index:<\/p>\n<p>To get all the bad index:<\/p>\n<pre>Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq \"Failed\"}<\/pre>\n<p>Get bad copy status :<\/p>\n<pre>Get-MailboxDatabaseCopyStatus * | where {$_.Status -eq \"FailedAndSuspended\"}<\/pre>\n<p>To fix all :<\/p>\n<pre>Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq \"Failed\"} | Update-MailboxDatabaseCopy -CatalogOnly<\/pre>\n<p>\u00a0<\/p>\n<p>fix one database :<\/p>\n<pre>Update-MailboxDatabaseCopy \"Database_Name\\Server_name\" -CatalogOnly<\/pre>\n<pre>C:\\Program Files\\Microsoft\\Exchange Server\\V14\\Scripts>.\\ResetSearchIndex.ps1 -force Database_Name<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Open Exchange Powershell to get all the bad index: To get all the bad index: Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq &#8220;Failed&#8221;} Get bad copy status : Get-MailboxDatabaseCopyStatus * | where {$_.Status -eq &#8220;FailedAndSuspended&#8221;} To fix all : Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq &#8220;Failed&#8221;} | Update-MailboxDatabaseCopy -CatalogOnly \u00a0 fix one database : Update-MailboxDatabaseCopy &#8220;Database_Name\\Server_name&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange-2010"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}