Remove Appx app from all user

Hi Powershell world!
In our environment we have blocked Windows Store, which also block Windows Store apps to get patched.
Since I can find the way to force them get patched, I am planning to uninstall some apps that have old vulnerable version. My script comes with an error.
Is there a way to find the app for each user profile and remove?
Thank you for any suggestion.

get-appxpackage -allusers Microsoft.HEVCVideoExtension* | remove-appxpackage -allusers -ErrorAction SilentlyContinue