How are between Get-AppxPackage's "Remove-AppxPackage" and winget.exe's "uninstall" different?

%3CLINGO-SUB%20id%3D%22lingo-sub-2846028%22%20slang%3D%22en-US%22%3EHow%20are%20between%20Get-AppxPackage's%20%22Remove-AppxPackage%22%20and%20winget.exe's%20%22uninstall%22%20different%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2846028%22%20slang%3D%22en-US%22%3E%3CP%3EWithout%20regard%20for%20the%20specified%20software%20that%20is%20designed%20for%20removal%2C%20how%20ar%3CFONT%20color%3D%22%23000000%22%3Ee%3A%3C%2FFONT%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Ewinget%20uninstall%20%3C%2FSPAN%3E%3CSPAN%3E--%3C%2FSPAN%3E%3CSPAN%3Eid%20%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Windows.Photos_8wekyb3d8bbwe%22%3C%2FSPAN%3E%20%3CSPAN%3E-%3C%2FSPAN%3E%3CSPAN%3Ee%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E...and%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EGet-AppxPackage%20-AllUsers%20*Microsoft.Xbox*%20%7C%20Remove-AppxPackage%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E...different%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2846028%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E.Net%20Core%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member

Without regard for the specified software that is designed for removal, how are:

winget uninstall --id "Microsoft.Windows.Photos_8wekyb3d8bbwe" -e

...and:

Get-AppxPackage -AllUsers *Microsoft.Xbox* | Remove-AppxPackage

...different?

0 Replies