If you have more than one swap file datastore for your hosts, then you might want to see which hosts are connected to what datastores.
get-vmhost -location "<cluster/datacenter name>" | sort-object Name | ft Name, VMSwapfileDatastore
I may or may not make this a series 😉 PowerShell with VMware is very useful. Ignoring the Connect-VIServer and Disconnect-VIServer commands, here are some tips. Getting the Swap File Datastore for all hosts in a cluster If you store VM swap files away from the VM folder (faster disk I would hope) and have… Read More »