Skip to content

Commit bad3d45

Browse files
authored
Merge pull request #45 from ChadSimmons/patch-3
Log number of discovered updates
2 parents 34c48a0 + 176100c commit bad3d45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Invoke-DGASoftwareUpdateMaintenance/Plugins/Disabled/Decline-Office365Editions.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ Function Invoke-SelectUpdatesPlugin {
6969
Return $DeclineUpdates
7070
}
7171
$maxVersions = @{}
72+
7273
$Office365Updates = ($ActiveUpdates | Where-Object {$_.ProductTitles.Contains('Office 365 Client') -or $_.ProductTitles.Contains('Microsoft 365 Apps/Office 2019/Office LTSC')})
74+
Add-TextToCMLog $LogFile "$($Office365Updates.count) Office 365 Client/Microsoft 365 Apps/Office 2019/Office LTSC discovered" $PluginName 1
7375

7476
#Loop through the updates and editions and determine the highest version number per edition.
7577
If ($LatestVersionOnly) {

0 commit comments

Comments
 (0)