Hi,
I'm trying to replicate the following esxcli command using the esxcli cmdlet
esxcli nmp satp addrule --vendor="Pillar" --claim-option="tpgs_on" --satp="VMW_SATP_ALUA" --description="Pillar Axiom ALUA Support"
I started with this
connect-viserver <myEsxHost>
$esxcli=Get-Esxcli
$esxcli.nmp.satp.listrules() | group-Object –Property "Vendor" # to list all satp rules defined
$esxcli.nmp.satp.addrule("tpgs_on","Pillar Axiom ALUA Support",$null,$null,$null,$null,$null,$null,$null,"VMW_SATP_ALUA",$null,"PILLAR")
The remote server returned an error: (500) Internal Server Error.
At line:1 char:25
+ $esxcli.nmp.satp.addrule <<<< ( "tpgs_on", "Pillar Axiom ALUA Support", $null, $null, $null, $null, $null, $null, $null, "VMW_SATP_ALUA", $null, "PILLAR")
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodInvocationException
any idea of what I'm doing wrong ?