Operating Systems Server 2008 Server 2012 Windows

Windows updates via PowerShell

So with windows updates being temperamental at times i have found that windows PowerShell also has a module for updates. i have been using it for a while and seems to work every time with out failure. it is super simple.

PowerShell Module

https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

Copy the whole module folder (after unzipping) to %WINDIR%\System32\WindowsPowerShell\v1.0\Modules

Setup

Start up PowerShell ISE as admin from admin tools

  • Set-ExecutionPolicy

Set-ExecutionPolicy RemoteSigned

  • Import-Module

Import-Module PSWindowsUpdate

  • Run the Update module

Get-WUInstall

The rest should be automated with some prompts

Leave a Reply

Your email address will not be published. Required fields are marked *