Powershell to update OS

Modified on Thu, Feb 6, 2020 at 8:52 AM

  • Open Powershell ISE, run as admin
  • Type: get-module pswindowsupdate  Enter
  • Type: install-module pswindowsupdate Enter 
  • Yes to all
  • Exit and restart Powershell in admin
  • Type: Set-Executionpolicy unrestricted Enter
  • Yes to all
  • Type: Get-windowsupdate Enter
  • Updates will install
  • Type: Install-windowsupdate Enter
  • Yes to all

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article