Finding all Exchange 2010 mailboxes that are not healthy and updating them

In an Exchange 2010 environment, for one reason or another some or many of your mailboxes may be left in an unhealthy state, and need to be reseeded. Rather than having to do each one manually, yo ucan use this PowerShell command:

Get-MailboxDatabaseCopyStatus -Server <servername> | where{$_.status -ne "Healthy"} | Update-MailboxDatabaseCopy -CatalogOnly

Note – this specific command will update the catalog only. If you require a full reseed, change as neccessary.