Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ESXiHostList = Get-VMHost
foreach ($ESXiHost in $ESXiHostList)
#Configure HP 3PAR SATP/PSP Rule
$SATPesxcli = $ESXiHost | Get-EsxCli
$$null,"tpgs_on","3PAR custom rule",$null,$null,$null,"VV",$null,"VMW_PSP_RR","iops=100","VMW_SATP_ALUA",$null,$null,"3PARdata")
Write-Host $ESXiHost ": HP 3PAR SATP/PSP Rule, configured."
#Disable ATS HB (
Get-AdvancedSetting -Entity $ -Name VMFS3.UseATSForHBOnVMFS5 | Set-AdvancedSetting -Value 0 -Confirm:$false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.