WahlNetwork / vester

Easily validate and remediate your vSphere configuration
https://wahlnetwork.com
Apache License 2.0
146 stars 45 forks source link

How do I use Vester to set VMkernel.Boot.hyperthreadingMitigation? #225

Open ads103 opened 4 years ago

ads103 commented 4 years ago

The title sums it up pretty well. After running new-vesterconfig and inspecting the resulting .json file, the key for setting hyperthreadingMitigation isn't obvious to me.

bluearcher-bc commented 4 years ago

You would have to write a new test file for this Advanced Setting. Take a look at some of the other host tests that have Get-AdvancedSetting/New-AdvancedSetting/Set-AdvancedSetting in them and the template for this is exactly the same, except you need to change the value of the advanced setting to VMkernel.Boot.hyperthreadingMitigation