Automate Windows Update
From RiceFamily Wiki
PowerShell Scripts
- https://marckean.com/2016/06/01/use-powershell-to-install-windows-updates/
- Interesting
- Requires the NuGet module and I need to force it's install as well
Fixing the NewGet problem
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
- Run the WindowsUpdate2.ps1 script