Commit 05a7bedc authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Skip KB3188966 and KB3189866 for now, would hang forever

parent 422b13e0
......@@ -67,6 +67,10 @@ function Install-WindowsUpdates() {
[bool]$addThisUpdate = $false
if ($Update.InstallationBehavior.CanRequestUserInput) {
LogWrite "> Skipping: $($Update.Title) because it requires user input"
} elseif ($Update.Title.Contains("KB3188966")) {
LogWrite "> Skipping: $($Update.Title) because it will hang forever"
} elseif ($Update.Title.Contains("KB3189866")) {
LogWrite "> Skipping: $($Update.Title) because it will hang forever"
} else {
if (!($Update.EulaAccepted)) {
LogWrite "> Note: $($Update.Title) has a license agreement that must be accepted. Accepting the license."
......@@ -125,7 +129,7 @@ function Install-WindowsUpdates() {
LogWrite 'No updates available to install...'
$global:MoreUpdates=0
$global:RestartRequired=0
Invoke-Expression "a:\openssh.ps1 -AutoStart"
Invoke-Expression "a:\enable-winrm.ps1"
break
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment