Rescanning ESXi storage in a parallel way
Lately, I’ve been doing a lot of work provisioning and decommissioning LUNs on some Fibre Channel arrays. As you all know, this process can be somewhat tedious when provisioning a new LUN on vSphere or removing said LUN. In the past, I would always use this PowerCLI command Get-VMhost -Cluster "Cluster1" | Get-VMHostStorage -Refresh This would first get all the ESXi hosts in the cluster “Cluster1” and then launch the refresh cmdlet on each host....