You can use the built-in baselines if you want. Edit the baseline and here you can add/remove updates.
In my example, I will create a new one:
Type the name of your baseline:
Now select updates you want to apply. Here, my Hyper-V host OS is Windows Server 2016:
Next, you can select the assignment scope. On which Hyper-V hosts the baseline will be applied:
Click Next. Note the “View Script” button which is for PowerShell Addict! VMM gives you the PowerShell code to perform this task using PowerShell.
Click finish to create the baseline.
Hyper-V Host Compliance
Your baseline is ready. Now let’s examine the Host’s compliance.
Navigate to: Fabric -> All Hosts and select your host.
Here, we can see the new baseline previously created in “Unknown” state because no scan have been performed yet. Right click on your host and select “Scan“.
After scanning my host, VMM indicates “Non compliant“.
Now, right click on the Hyper-V and select “Remediate”
In the new dialog box, click “Remediate” to patch the host.
Thanks for reading! You can follow me on Twitter @PrigentNico