Install Windows updates with PowerShell


Software: Windows 7, 8 & 10 | Last modified on 2018-06-18


Use PowerShell to download and install the latest Windows updates.

[Solution 1] Install the PSWindowsUpdate module


  1. Open PowerShell (Admin).
  2. Version 5 or higher is required for these steps. To confirm you have a supported version, execute $PSVersionTable.PSVersion
  3. Execute Install-Module PSWindowsUpdate Get-Command –module PSWindowsUpdate to install the required module.
  4. Execute Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d to register the new update service.
  5. Execute Get-WUInstall –MicrosoftUpdate –AcceptAll –AutoReboot to begin downloading and installing all available updates.

Search
Support
Can't find the answer you're looking for? Click here to submit a ticket.