Find and remove corrupt HealthMailboxes

In large or dynamic Exchange Server 2013 you might encounter the situation where HealthMailboxes will become corrupt due to an empty mailbox database attribute.

4.6 Star
2,323 times
Add to favorites
E-mail Twitter Digg Facebook
  • Why script limited to 50 changes?
    1 Posts | Last post November 20, 2017
    • I suppose it would be nice to add "-ResultSize unlimited" to :
      $healthMailboxes = Get-Mailbox -Monitoring -ResultSize unlimited -WarningAction SilentlyContinue
      And why did you limit proceeding with 50 first mailboxes only? (($i -lt 50)