I've completely rewritten my original summary script for much faster performance (From 20 min. to approx. 3 min. in an environment running 60 Hosts, 1300VMs, and 181 Datastores). Nothing much has changed as far as how or what it reports on, but here is a list of changes:
- Much Faster Performance.
- CSS can be used to change mouse cursor to hand icon for table header.
There is still plenty to be refined about this script, but it’s pretty fast and can give you an overall picture of how your environment is doing. Plus, it’s a good thing to put in front of management to help them understand what’s going. I run this script about every hour so I know when I need to allocate additional datastores.
It’s not part of this posted code, but I’ve added code to link cluster names to a more detailed report that shows host information about each cluster. I’m working on the detailed report portion as it’s still rather cludgy. Comments are appreciated. \(^o^)/
Here is the code: Get-SummaryReportv2.5.ps1