The Get-EsxCli method should be faster.
Have a look at Set the Path Selection Policy for every device path of every host in your vSphere 5.0/5.1 cluster using PowerCLI
The Get-EsxCli method should be faster.
Have a look at Set the Path Selection Policy for every device path of every host in your vSphere 5.0/5.1 cluster using PowerCLI