Windows Update

Patching Servers

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

Download Windows Update PS Module

extract module to one of the following locations

%USERPROFILE%\Documents\WindowsPowerShell\Modules

%WINDIR%\System32\WindowsPowerShell\v1.0\Modules

Set-ExecutionPolicy -Scope process unrestricted -Force Import-Module PSWindowsUpdate Get-WUInstall -Category 'Security Updates', 'Critical Updates' -WindowsUpdate -AcceptAll -AutoReboot

Get-WUInstall -Category 'Security Updates', 'Critical Updates' -WindowsUpdate Get-WUInstall -Category 'Security Updates', 'Critical Updates' -MicrosoftUpdate

Heading foo

ddd

PS Code Here