PowerShell Logo Small

Get-AppxPackage



This is the built-in help made by Microsoft for the command 'Get-AppxPackage', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 [<SwitchParameter>]] [-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=215770
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.