Hello,
I'm very new to PowerCLI, but I've been asked to obtain 3 reports and wonder if there is an example website to help me?
1. List all VMs with snapshots older than 2 days, showing VM name, OS, snapshot size, any tags.
2 VMs assigned with a tag called "Testing" showing VM name, OS, current disk free space.
3. List all datastores, showing name, size and free space.
They want this in Grafana which is what we use for everything. I already have a lot in there for vCenter using Telegraf but not the above as it needs deeper info.
I'm sure PowerCLI can do the above, but I need to either create these as CSV files somehow or even better would be to send these to SQL and query that, is this even possible?
Thanks