Jun 19 2021 12:49 PM
Jun 21 2021 08:40 AM
Helle @Jakesnyder245,
You can reach your goal only with these three commands:
Install-Module PSWindowsUpdate -Force
Get-WindowsUpdate
Install-WindowsUpdate -NotCategory "Drivers" -AcceptAll -IgnoreReboot
You can even be more granular.
Check this article: PSWindowsUpdate: Managing Windows Updates from PowerShell | Windows OS Hub (woshub.com)