PowerShell Logo Small

Get-AppxPackage



This is the built-in help made by Microsoft for the command 'Get-AppxPackage', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets a list of the app packages (.appx) that are installed in a user profile.

SYNTAX


Get-AppxPackage [[-Name] <String>] [[-Publisher] <String>] [-AllUsers] [-PackageTypeFilter {Bundle | Framework | Main | None | Resource}] [-User <String>]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-AppxPackage cmdlet gets a list of the app packages (.appx) that are installed in a user profile. 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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288121
Package Manager API
How to Add and Remove Apps
Add-AppxPackage
Get-AppxPackageManifest
Remove-AppxPackage
Get-AppxLog
Get-AppxLastError

REMARKS

<

Examples


Example 1

PS C:\>Get-AppxPackage -AllUsers



This command lists the app packages (.appx) that are installed for every user account on the computer.




Example 2

PS C:\>Get-AppxPackage -Name Package1 –User domain\username



This command displays information about Package1 if it's installed in the specified user profile.