File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
acceptance_test/assets/bwats-release/jobs/check-updates/templates Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ Write-Host "Session: $Session"
99$Searcher = $Session.CreateUpdateSearcher ()
1010Write-Host " Searcher: $Searcher "
1111$UninstalledUpdates = $Searcher.Search (" IsInstalled=0 and Type='Software' and IsHidden=0" ).Updates
12+ Write-Host " UninstalledUpdates.Count: $ ( $UninstalledUpdates.Count ) "
13+
1214$FilteredUpdates = @ ($UninstalledUpdates | `
1315 Where-Object {$_.Title -notmatch " KB2267602" -And $_.Title -NotMatch " KB4052623" })
16+ Write-Host " FilteredUpdates.Count: $ ( $FilteredUpdates.Count ) "
17+
1418if ($FilteredUpdates.Count -ne 0 ) {
1519 Write-Log " The following updates are not currently installed:"
1620 foreach ($Update in $FilteredUpdates ) {
You can’t perform that action at this time.
0 commit comments