Get-AppxPackageManifest
Gets the manifest of an app package (.appx).
Syntax
Get-AppxPackageManifest
[-Package] <String>
[[-User] <String>]
[<CommonParameters>]
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.
Examples
Example 1
PS C:\>Get-AppxPackageManifest -Package package1_1.0.0.0_neutral__8wekyb3d8bbwe
This command gets the manifest for an app package that's named package1_1.0.0.0_neutral__8wekyb3d8bbwe.
Example 2
PS C:\>(Get-AppxPackage -Name "*WinJS*" | Get-AppxPackageManifest).package.applications.application.id
This command gets the application ID for an app package (.appx) that has "WinJS" in the name.
Example 3
PS C:\>(Get-AppxPackage -Name "*ZuneMusic*" | Get-AppxPackageManifest).Package.Capabilities
This command gets the capabilities for an app package (.appx) that has "ZuneMusic" in the name.
Parameters
-Package
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.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-User
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
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.Windows.Appx.PackageManager.Commands.AppxPackage[]
An array of AppxPackage objects that contain information, including the full name of the app package (.appx).
Outputs
System.XML.XMLDocument
A read-only .xml document that contains information about the app package (.appx), like the package ID.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for