Reply To: Windows OS Update Configuration

#14184
AvatarEvin Lee
Moderator

Hey @Zaina
Thanks for reaching out to us.
You can use the following PowerShell script.

Install-WindowsUpdate -ForceDownload -ForceInstall – AcceptAll

But make sure to install PSWindowsUpdate module before executing the above script.
You can install the module silently by executing the script given below.

Install-Module PSWindowsUpdate Install-PackageProvider NuGet –Force Set-PSRepository
PSGallery -InstallationPolicy Trusted Install-Module SQLServer -Repository PSGallery

Regards,
Evin Lee
Hexnode UEM