VI3 Statistics Script

Summary:
The script does the following:
  1. Grabs Number of Hosts per Cluster
  2. Grabs Number of VM's per Cluster
  3. Determine maximum number of VM's per cluster based on your determined ratio
  4. Current capacity % based on your defined max
  5. Total SAN/Datastore space per cluster
  6. Total SAN/Datastore space per cluster currently in use
  7. Total SAN/Datastore per cluster Free space.
  8. 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

Comments

Popular posts from this blog

NSX-T: vCenter and NSX-T Inventory out of Sync (Hosts in vSphere not showing up in NSX-T)

MacOS: AnyConnect VPN client was unable to successfully verify the IP forwarding table modifications.

vCenter: Cluster Skip Quickstart Workflow via API