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
(7)
2,231 times
Add to favorites
Exchange
11/29/2016
E-mail Twitter del.icio.us 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)