Install Windows Updates with Powershell (Windows 10)

The image shows a person seated at a computer desk with a large flat-screen TV mounted on the wall behind them. The room has a homely feel, with a window allowing natural light to enter, and various objects such as a potted plant, speakers, and additional items on the desk are visible.

This guide will allow you to Install Windows Updates with Powershell (Windows 10), you could use this for something like backstage in Connectwise Control.

Open Powershell as admin and paste the following:

Set-ExecutionPolicy RemoteSigned
Install-Module PSWindowsUpdate

Get-WindowsUpdate
Install-WindowsUpdate

This will install the Windows Update module in Powershell, find all available updates and install them without rebooting. You will likely have to use “Y” and “A” to access any terms.

If you’d like to install all updates and reboot if necessary, use the following script:

Set-ExecutionPolicy RemoteSigned
Install-Module PSWindowsUpdate
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

Need help with your website?

Dynamic Technologies builds, hosts and maintains websites for small businesses in Coeur d'Alene and North Idaho.