Hello everyone!
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!
Marc Davoli
http://ca.linkedin.com/in/marcvincentdavoli/
Edited on May 25 : Changed OneDrive link to updated script v2.1 with bugfix (for cluster names with a space in it)
That looks nice, I'll give it a try.
Thanks for sharing.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Well done, really useful script. Already have it on a monthly schedule
Hi Marc
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?
Thanks
Johan
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.
Thanks,
Art
Hi Pinball,
First, thanks!
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.
Good luck!
Marc
Hi Doyart,
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.
Marc
Marc,
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.
Art
Hi Marcus316,
Not able to download the script. Link is broken.
Could you please reshare the link .
Thanks,
Sravana
I would like to check it out as well, the link is broken for me as well.
Does the long URL work for you ?
For me it works with both
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
It works for me.. nice script. Thanks
Seems as though my corp firewall is blocking 😕
I experience that with some shortened URLs as well :smileycry:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
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)
So much for security, block the site, but allow USB keys on/off premises :smileygrin:
Rest assured, I (mis)use that security hole as well :smileyblush:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Very useful script and thanks for sharing.
Good Script. Thanks
One quick question. Can we get the report in pdf format ?
Hi Dixitr,
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.
Thanks