UPDATED and Optimized Script can be found HERE.
I'm hoping this is easier to read for any interested. Things I track in this script are as follows:
- Cluster Name
- # of Effective Cluster Hosts
- # of VM's in the cluster
- # of allocated vCPU's
- VMWare supported maximum of vCPU's per core
- Datastore full size
- Datastore free space
- Datastore used space as a percentage
The script is posted here. I suggest copying and pasting into a Powershell editor like PowerGUI or Powershell PLUS for readability.
It automatically generates an html and stylesheet file and places them on your C drive. You can change a bunch of variables that are commented toward the top of the script. Hope you can find this useful.