The Test-ExchangeServerHealth.ps1 PowerShell script will perform a series of tests against an Exchange Server 2010 or 2013 organization and produce a health report.

Please note: This script has slowly degraded over time as new versions and builds of Exchange have been released. This script is no longer being maintained for bugs, however you are free to fork the project to apply your own bug fixes and improvements to suit your needs.

Tests include:

The results are output to a HTML file or email that provides a summary and color-coded details of the results of each test.

For email reports make sure you modify the SMTP settings in the script:

 

PowerShell
Edit|Remove
#................................... 
# Modify these Email Settings 
#................................... 
 
$smtpsettings = @{ 
    To =  "administrator@exchangeserverpro.net" 
    From = "exchangeserver@exchangeserverpro.net" 
    Subject = "$reportemailsubject - $now" 
    SmtpServer = "smtp.exchangeserverpro.net" 
    }
 

 

Tested on Exchange Server 2010 and 2013. PowerShell v2 is required as a minimum. In a co-existence environment run the script from the higher version of Exchange.

More information about Test-ExchangeServerHealth.ps1 is available on Practical 365. Please leave comments or questions there, or raise issues on Github.