Hi All,
Following this kb article (1030265), I was able to set the value using the below command:
PowerCLI> $myesxcli.system.settings.kernel.set("iovDisableIR","TRUE"), However when I try to list the properties getting the below error.
PowerCLI C:\> $myesxcli.system.settings.kernel.list("iovDisableIR")
Message: A specified parameter was not correct: argument[0];
InnerText: argument[0]
At line:1 char:1
+ $myesxcli.system.settings.kernel.list("iovDisableIR")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], InvalidArgument
+ FullyQualifiedErrorId : VMware.VimAutomation.ViCore.Types.V1.ErrorHandling.InvalidArgument
PowerCli version: 6.5
VCenter:6.0.0, 3018523
Command output attached.
Any inputs are greatly appreciated.
Thanks,
Sukdev M
Thanks it worked.
$myesxcli.system.settings.kernel.list($true, 'iovDisableIR')
There are two parameter, the first one is a Boolean named 'delta'.
Its purpose "Only display options whose values differ from their default".
Try like this
$esxcli.system.settings.kernel.list($false,'iovDisableIR')
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks it worked.
$myesxcli.system.settings.kernel.list($true, 'iovDisableIR')