joefitzgerald / packer-windows

Windows Packer Templates
MIT License
1.63k stars 1.12k forks source link

[question] Exclude Windows Update Patches KB's during update #265

Open lmayorga1980 opened 6 years ago

lmayorga1980 commented 6 years ago

I wonder if there is a way to filter out which updates should be installed during the update process. Maybe create an Array skip list of updates and set the [bool]$addThisUpdate = $<value> accordingly? https://github.com/joefitzgerald/packer-windows/blob/master/scripts/win-updates.ps1#L73-L74