Remove Appx app (is that redundant?):
Get-AppxPackage -allusers -name "Microsoft.MicrosoftOfficeHub" |Remove-AppxPackage
Here is an example:
REMOVEGet-AppxPackage -allusers -name "Microsoft.Windows.Photos" |Remove-AppxPackage
GETGet-AppxPackage -allusers | Select Name, PackageFullName |findstr /i photo
ADDAdd-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2019.19071.17920.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode