VMware Cloud Community
birend1988
Hot Shot
Hot Shot

Vcheck script

Hello Experts!!!

I am using vROPs in my environment and scheduled a vCheck to run on every day for fetch VC health.

The script fetch the entire data and provide the HTML file.

I am looking for a script which will export the output in .csv format.

If anyone have the script handy please share.

Thanks.

VCIX, NCAP
0 Kudos
1 Reply
LucD
Leadership
Leadership

Not that I know of.

Since the complete script is built around creating a HTML report, it might be quite a bit of work to adapt it.

On the other hand, and after a quick look, all plugin result are collected in a variable $PluginResult (around line 970).
You might be able to add an additional export there.

But watch out, the results of the plugins are not always in the same layout (more or less properties for example).

So you might have to export the results of each plugin to a separate CSV.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos