Get-AppxPackageManifest

Get-AppxPackageManifest is accessible with the help of Appx module. To configure Appx, go through this link.

Synopsis

Gets the manifest of an app package.

Description

The Get-AppxPackageManifest cmdlet gets the manifest of an app package. An app package has an .appx file name extension. The manifest is an .xml document that contains information about the package, like the package ID.

Parameters

-Package

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

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

-User

Specifies a user. This cmdlet gets the manifest of packages that are installed for the user that this parameter specifies. 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:

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Syntax

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

——————Example 1——————
Get the manifest for an app package
PS C:> Get-AppxPackageManifest -Package “package1”
This command gets the manifest for an app package named package1.

——————Example 2——————
Get the application ID for an app package
PS C:> (Get-AppxPackage -Name “WinJS” | Get-AppxPackageManifest).package.applications.application.id
This command gets the application ID for an app package that has the string WinJS in the name.

——————Example 3——————
PS C:> (Get-AppxPackage -Name “vlc” | Get-AppxPackageManifest).Package.Capabilities
This command gets the capabilities for an app package that has the string vlc in the name.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Get-AppxPackageManifest

Get-Command Get-AppxPackageManifest powershell script command cmdlet appx

You can also read about

  • Get-AppxPackage
  • Add-AppxPackage

To know more PowerShell cmdlets(Commands) on Appx click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *