looking for quickest way to gather list of ESXi hosts (in multiple vcenters) and their scratch space location.
Presume that Powershell or powercli script will compile output in csv format and properties I am looking are : HostName, ClusterName, ScratchLocation and vcenter in that output.
Would you be able to assist?
I am new to scripting and would appreciated help.
This is an advanced configuration (scratch location), so you will need to gather the data in the correspondent field.
First connect to vCenter and then you can try this: List scratch locations with powercli
Hope this helps.