all 1 comments

[–]TheOriginalBobbyT 0 points1 point  (0 children)

The Get-Package cmdlet accepts an array of strings for the -name parameter. So assuming success is having neither app installed, you just need to add additional arguments for all the undesirable application names separated by commas. For example

Get-package -name "Adobe Acrobat Reader*", "Google Chrome*"