Get-AppxPackageManifest

Get-AppxPackageManifest

Gets the manifest of an app package.

구문

Parameter Set: Default
Get-AppxPackageManifest [-Package] <String> [[-User] <String> ] [ <CommonParameters>]




자세한 설명

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.

매개 변수

-Package<String>

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.


별칭

none

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

-User<String>

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:

-- domain\user_name
-- user_name@fqn.domain.tld
-- user_name
-- SID-string


별칭

none

필수 여부

false

위치

2

기본값

none

파이프라인 입력 허용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

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

    This cmdlet accepts an array of AppxPackage objects that contain information, including the full name of the app package.


출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • System.XML.XMLDocument

    This cmdlet returns a read-only .xml document that contains information about the app package, like the package ID.


Example 1: Get the manifest for an app package

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


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

Example 2: Get the application ID for an app package

This command gets the application ID for an app package that has the string 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 that has the string ZuneMusic in the name.


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

관련 항목

커뮤니티 추가 항목

추가
표시: