Posts

Showing posts from February, 2009

VI3 Statistics Script

Summary:
The script does the following:
Grabs Number of Hosts per ClusterGrabs Number of VM's per ClusterDetermine maximum number of VM's per cluster based on your determined ratioCurrent capacity % based on your defined maxTotal SAN/Datastore space per clusterTotal SAN/Datastore space per cluster currently in useTotal SAN/Datastore per cluster Free space.SAN/Datastore space currently in use per cluster in percent.
I'm still getting my feet wet w/ this Powershell thing, but I feel I'm slowly getting the hang of it. As one of my first fully written from scratch scripts, I'm kinda proud. It's an ugly beast that could probably written a lot cleaner, but it's my ugly beast. You'll probably want to copy and paste into PowerGUI for readability.

http://docs.google.com/Doc?id=ddvthst9_11spnzs8fm