Export (0) Print
Expand All

Get-AppxPackageManifest

Windows Server 2012 R2 and Windows 8.1

Updated: March 3, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-AppxPackageManifest

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

Syntax

Parameter Set: Default
Get-AppxPackageManifest [-Package] <String> [[-User] <String> ] [ <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

none

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

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

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

    An array of AppxPackage objects that contain information, including the full name of the app package (.appx).


Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.XML.XMLDocument

    A read-only .xml document that contains information about the app package (.appx), like the package ID.


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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft