Powershell‎ > ‎

Windows Update


Patching Servers

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

  

Comments