Gets a list of the app packages that are installed in a user profile.
Syntax Get-AppxPackage [[-Name] String] [[-Publisher] String] [-AllUsers] [-PackageTypeFilter {None | Main | Framework | Resource | Bundle | Xap}] [-User String] [-Volume AppxVolume] [CommonParameters] Key -AllUsers Indicates that this cmdlet lists app packages for all user accounts on the computer. This parameter requires administrator permissions. -Name [String] Return results for the specified package only. Wildcards are permitted. -PackageTypeFilter [PackageTypes] One or more comma-separated types of packages that the cmdlet gets from the package repository. Valid values are: -- Bundle -- Framework -- Main -- Resource -- None By default, this cmdlet returns only packages of types Main and Framework. -Publisher [String] The publisher of a particular package. If you specify this parameter, the cmdlet returns results only for this publisher. Wildcards are permitted. -User [String] A user. If you specify this parameter, the cmdlet returns a list of app packages that are installed for only the user specified. To get the list of packages for a user profile other than the profile for the current user, you must run this command by using administrator permissions. The user name can be in one of these formats: -- domain\user_name -- user_name@fqn.domain.tld -- user_name -- SID-string -Volume [AppxVolume] An AppxVolume object. If you specify this parameter, this cmdlet returns only packages that are relative to the volume that this parameter specifies.
Get-AppxPackage gets a list of the app packages that are installed in a user profile.
An app package has an .appx file name extension. To get the list of packages for a user profile other than the profile for the current user, you must run this command by using administrator permissions.
This cmdlet was introduced in Windows PowerShell 5.0.
Get a list of all the currently installed packages:
PS C:\> Get-AppxPackage > Apps.txt
Re-install the Microsoft Edge Browser (It sometimes goes missing from the Start Menu/Windows Apps:
PS C:\> Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}
Get and then remove some of the default/bloatware packages supplied with Windows 10:
Get-AppxPackage *XboxGamingOverlay* | Remove-AppxPackage
Get-AppxPackage *YourPhone* | Remove-AppxPackage
Get-AppxPackage *WindowsMaps* | Remove-AppxPackage
Get-AppxPackage *WindowsCamera* | Remove-AppxPackage
“No law can give power to private persons; every law transfers power from private persons to government” ~ Isabel Paterson
Remove-AppxPackage - Remove an app package from a user account.