Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AppxPackageManifest

Get-AppxPackageManifest

microsoft.windows.appx.packagemanager.commands.dll

Synopsis

Gets the manifest of an app package (.appx).

Syntax

Get-AppxPackageManifest [-Package] [-User] [<CommonParameters>]

Detailed Description

The Get-AppxPackageManifest cmdlet gets the manifest of an app package (.appx). The manifest is a .xml document that contains information about the package, like the package ID.

Parameters

-Package <String>

Specifies an AppxPackage object or the full name of a package. To get the manifest of a package on the computer that isn't installed for the current user, you must run this command by using administrator permissions. Wildcards are permitted.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-User <String>

that are installed for the specified user. 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

Aliases

None

Required?

false

Position

2

Default value

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

Input Type

Microsoft.Windows.Appx.PackageManager.Commands.AppxPackage[]

Return Type

System.XML.XMLDocument

Notes

None

Examples

Example 1

This command gets the manifest for an app package that's named package1_1.0.0.0_neutral__8wekyb3d8bbwe.

PS C:\>Get-AppxPackageManifest -Package package1_1.0.0.0_neutral__8wekyb3d8bbwe

Example 2

This command gets the application ID for an app package (.appx) that has "WinJS" in the name.

PS C:\>(Get-AppxPackage -Name "*WinJS*" | Get-AppxPackageManifest).package.applications.application.id

Example 3

This command gets the capabilities for an app package (.appx) that has "ZuneMusic" in the name.

PS C:\>(Get-AppxPackage -Name "*ZuneMusic*" | Get-AppxPackageManifest).Package.Capabilities

Online Version
Package Manager API
How to Add and Remove Apps
Get-AppxPackage
Add-AppxPackage
Remove-AppxPackage
Get-AppxLog
Get-AppxLastError