With the release of Exchange Server 2016 a minor update to my Test-ExchangeServerHealth.ps1 script was necessary to fix a version detection bug with Exchange Server 2016.
If you run Exchange Server 2016 and want accurate health check reporting you can download the updated script from the TechNet or Github.
If you’d like to learn more about Test-ExchangeServerHealth.ps1 please go here.
The change in V1.15 was a very simple one. Exchange Server 2010 has build versions starting with 14.x, and Exchange Server 2013 has build versions starting with 15.x. I did not anticipate that Exchange Server 2016 would also use 15.x version numbers when I first wrote the script. The minor update changes the build version detection to use “15.0*” for Exchange 2013, and “15.1*” for Exchange 2016.
Other than that, the two products are so similar that the script appears to run just as well for Exchange 2016 as it for Exchange 2013. Which is not to say it runs perfectly. There were a number of hacks and workarounds needed for the script to work with Exchange 2013, and the overall script code has grown to an unmanageable size with poor structure, making any significant change risky at this point. This script actually started life almost 5 years ago in the Exchange 2007 era and today resembles a house that has had a dozen different renovations performed on it instead of a brand new home with everything well designed to fit together.
A year ago I announced I would rewrite the script from scratch. A lot of work and other life events have slowed me down, but that task continues and I hope to have something that is better suited to Exchange 2013 and 2016 released in the near future. In the meantime please continue to run Test-ExchangeServerHealth.ps1 for your health checks and report any bugs or issues to me so that I can fix them where possible.
This article Test-ExchangeServerHealth.ps1 V1.15 is Now Available is © 2015 ExchangeServerPro.com
Get more Exchange Server tips at ExchangeServerPro.com