After recent discussion on vSphere Capacity planning, I thought I would share one of the tools I use for this purpose. This is a side project I've been working on for few months.
I present to you, my very own "VMware Capacity & Performance Report PowerCLI script (v2.1 Community edition)"
(Click here then click on "Download")
This is a complex PowerCLI script I wrote, that generates an e-mail report that gives you insight into the current state of your VMware vSphere environment's capacity. It generates tables, pie charts and line charts with information about CPU, Memory & Storage capacity, VM Provisioning Potential, Cluster Resilience and more. Check the script's #INFORMATION block for more information about prerequisites, script input and output.
Have a look at the report it generates and let me know what you think of it!
Please share your thoughts and comments!
Edited on May 25 : Changed OneDrive link to updated script v2.1 with bugfix (for cluster names with a space in it)
First thing, this is a great piece of work and thanks for sharing it.
Do you know if it's possible to generate the report on a per Cluster base and not the individual ESXi host?
will this script stop any thing or will it just run, I see something referring to "REMOVING HOST", but cann not see that command.
Obviously I cannot just run and it stop a Host.
Second, that's not how this script is programmed and I believe it would take a lot of work to change it.
You can always add a section at the end of the script that does this kind of thing.
This script doesn't modify anything once it connects to vCenter.
In fact, you can run the script with Read Only permissions, it won't make a difference because all the script does is "GET" information.
Thanks for the fast reply, it seems to take long for me, I will try again tomorrow and give you update. I will say this is a very well written script nice job.
On a side note, in Vsphere where you go to summary tab of the Cluster there is a View Resource distribution chart, do you know how I can retrieve this in Powercli, simple version?
Seems to be elusive in threads.
Even the long one is blocked lol, any drive download sites we block. Guess I'll have to figure out a "work around" (ie get it on home with usb transport)
Unfortunately not. The script is built from the ground up to be exported to HTML / e-mail format.
A workaround I could suggest is to open the exported .HTML file and save that page as a PDF file.
It's manual, but it works.