Remove-AppxPackage

A PowerShell utility to remove an app package from user accounts. More information: https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage.

Remove-AppxPackage package

Remove-AppxPackage package -User username

Remove-AppxPackage package -AllUsers

Remove-AppxPackage package -PreserveApplicationData