Hi,
I need to retrieve patch level information of esx hosts in vcentre server and i am looking for a power cli script which will retrieve the patch information.
Then exports the output to csv/html file.
Thanks
Gladiator
I moved your question to the PowerCLI Community.
Take a look at my blog post Check your vSphere cluster hosts patch level with PowerCLI. Maybe that is what you are looking for.
To write the output to a .csv file you can pipe the output to the Export-CSV cmdlet. To write the output to html you can use the ConvertTo-Html cmdlet.
Regards, Robert