SoftwareUpdateScripts
SoftwareUpdateScripts copied to clipboard
Decline-Office365Editions Plugin not working with new naming scheme of Office updates
The current Decline-Office365Editions plugin is not working with the new naming scheme of updates from Microsoft. Tried updating the file with new names but does not decline anything
You have to change the PoductTitles Line from
$Office365Updates = ($ActiveUpdates | Where-Object {$_.ProductTitles.Contains('Office 365 Client')})
to
$Office365Updates = ($ActiveUpdates | Where-Object {$_.ProductTitles.Contains('Microsoft 365 Apps/Office 2019/Office LTSC')})
Pull Request ##44 submitted to address the issue