Friday, April 1, 2011

Daily PowerCLI Primer - Set Storage Multipathing Policy to Round Robin

Here's a quick script to set multipathing policy to Round Robin on an ESX host named esxhost:

Get-VMHost -Name "esxhost.com" | Get-ScsiLun -LunType "disk" | where {$_.MultipathPolicy –ne "RoundRobin"} | Set-ScsiLun -MultipathPolicy "RoundRobin"

~ Manoj Thundil

0 comments:

Post a Comment