Hi all,
is there a possibility to run the command simultaneously, so it doens't take this amount of time?
Get-Cluster -Name $ClusterName | Get-VMHost | Get-VMHostStorage -RescanVMFS
I'm afraid not.
The reason is that there no async version for the RescanVmfs method.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference