VMware Cloud Community
PandzicM
Contributor
Contributor

PowerCLI script to get scratch space

Hello,

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.

Thanks

0 Replies