Windows 10 unattended upgrade

broken image
broken image

PSWindowsUpdate takes care of Windows updates (WSUS Server). When installed, PSWindowsUpdate module must be imported to PowerShell with following cmdlet (#4): Import-Module -Name PSWindowsUpdate It is completely safe to tell PowerShell you trust it (#3). Yet, you will be told it is an “untrusted repository”. The PowerShell Script Gallery is official and can be trusted. If Nuget is not installed, you will be asked to confirm that you want to install it now (#2). Enter the following cmdlet to install PSWindowsUpdate module (#1 in next screenshot): Install-Module -Name PSWindowsUpdateĪ Nuget package provider must be present before installing a module. In Windows Settings, allow local PowerShell scripts to be run: First step is to allow scripts to be run in PowerShell.