win_updates shouldn't install hidden updates

reviewable/pr18780/r1
nitzmahone 9 years ago
parent bc198cc33a
commit 93db039783

@ -121,6 +121,11 @@ $job_body = {
$update.AcceptEula()
}
if($update.IsHidden) {
Write-DebugLog "Skipping hidden update $($update.Title)"
continue
}
Write-DebugLog "Adding update $($update.Identity.UpdateID) - $($update.Title)"
$res = $updates_to_install.Add($update)

Loading…
Cancel
Save