Posted in PowerCLI Script

PowerCLI – How solve CVE-2018-3646 – KB55806

PowerCLI – How solve CVE-2018-3646 – KB55806 Posted on 24/03/2019


When you update your ESXi host you can see on ESXi’s summary tab this warning.

I decided to use PowerCLI to solve this issue. Please, for more information or verify compatibility CPU follow this link ( You can follow this link ( as well.


FYI, you can add an array for option “Name” on Get-VMHost.

$esxcli = Get-EsxCli -VMHost (Get-VMHost -Name MyESXiHost) -V2
$SettingsKernelSet = $esxcli.system.settings.kernel.set.CreateArgs()
$SettingsKernelSet.setting = "hyperthreadingMitigation"
$SettingsKernelSet.value = "TRUE"

Verify if new value is applied.

$esxcli = Get-EsxCli -VMHost (Get-VMHost -Name MyESXiHost) -V2
$esxcli.system.settings.kernel.list.Invoke(@{option = "hyperthreadingMitigation"})

You have to reboot the ESXi host for the configuration change to go into effect.

Have Fun !!