This is a simple script that will return the number of associated vSAN Components per host, sorted by VM This requires PowerCLI 11.2 or higher and vSAN 6.2 or higher. The syntax is: VsanComponentsPerHostByVM.ps1 <CLUSTERNAME> You will have to be connected to vCenter first. ...
VsanComponentsPerHostByVM.ps1
This sample code shows how to make a connection to ESX or vCenter, and get back some simple information from it. How to Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user name to log in as [3] The password to use [4]...
Returns-names-of-objects-found-on-a-vSphere-environment-master.zip