Avatar of Jay Thomas
Jay Thomas
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Automating the reports from ESXi hosts

Hi all,

Currently studying VCP and have a question. Is there anyway of automating the reporting side ie, when i go file, Report, Host Summary. Can this be scheduled does anyone know and can one report be used to combine multiple ESXi hosts? Say if you have 500 hosts, I wouldn't want to run the report 500 times and also would be good to pull the reports together.
VMwareVirtualizationWindows Server 2008

Avatar of undefined
Last Comment
Jay Thomas

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

The best way to Automate Reports is to use one of the following:-

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.


One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI



VMware Community Pack

In the above VMware Community Pack is vCheck Daily which emails a report daily to you.

see also here

vCheck (Daily Report)


VMware vSphere Health Check Report v5.1.0

RV Tools

is also good.
Jay Thomas

Hi, will PowerCLI work without vcloud director then?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Yes, PowerCLI works connected to Hosts (and/or) vCenter Server.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Jay Thomas

Hi, i have run the vcheck (daily report) but i do not have an email system to send the email but i can't see the option of where the file is saved so that i can view it - any ideas?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

How about using Google's SMTP server?
Jay Thomas

My report comes in the browser but comes out really weird -its attached. Don't know if you have time to look dude, appreciate your help.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jay Thomas

Hey dude ignore that i now got it working. The script doesn't change anything does it? It just that one plug in says allow max number of CPUs and another max number of paths to the LUN.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Jay Thomas

It reports 1 host (i have 2 that are online) and reports number of VMs at 1 where I have 8.

Don't think I'm taking the mick here by keep asking its just it would be difficult to start a new question with this error. Can you think of why it would report the wrong numbers?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

I didn't write the script, so not sure what is going on here with it!

(New Look EE!)
Your help has saved me hundreds of hours of internet surfing.
Jay Thomas

Thanks for all you help mate