Over the weekend, I’ve been working on incorporating the many suggestions for improving the Exchange Environment Report script, so a big thanks to everyone who’s found the script useful, found additional uses, reported bugs and suggested additional information that would be useful.
The major new feature with this version is full support for Exchange 2007-only environments, with a similar level of detail. The original version was solely intended to be useful from the Exchange 2010 management shell, so there was some work required to use alternative command parameters. I’ve also used a line of code from an a excellent one liner by Gary Siepser to get the Exchange 2007 database size. As part of the above support, information is also displayed for non-DAG mailbox databases in an Exchange 2010 environment.
In addition, a the following other features have been added:
- Now only displays the versions of Exchange 2007 and 2010 in use in the green organization section
- Shows the current Update Rollup, using code based on Bhargav Shukla’s excellent Update Rollups script
- Average sizes for mailboxes and archive mailboxes on a per-database level
- Last date/time of full backup (but only if at least one database in each DAG/non-dag list has had a full backup)
- Circular logging state (again, only shown if at least one database in each DAG/non-dag list has circular logging enabled)
Bugs fixed include checking for Powershell version, improved progress information for large Sites and DAGs, detection for sites with no Exchange servers, no DAGs and a number of changes to the way Database information is collected for Exchange 2007 support.
As well as permissions to Exchange cmdlets and WMI to discover the remote OS and Service Pack, this version also attempts to check the file size of Exchange 2007 databases using WMI ,and attempts to connect to each Exchange server using Remote Registry to check the Update Rollup version.
Just like the previous version this has been tested in multiple Exchange environments including Exchange 2010-only DAG/non DAG, Exchange 2010/2007 mixed and from Exchange 2007, but if you find any more bugs let me know.
So, if you’d like to try out the new version of the script, it’s available for download at the original blog article.