Get-AppxPackage
Get-AppxPackage
Gets a list of the app packages that are installed in a user profile.
구문
Parameter Set: Default
Get-AppxPackage [[-Name] <String> ] [[-Publisher] <String> ] [-AllUsers] [-PackageTypeFilter <PackageTypes> {None | Main | Framework | Resource | Bundle | Xap} ] [-User <String> ] [-Volume <AppxVolume> ] [ <CommonParameters>]
자세한 설명
The Get-AppxPackage cmdlet gets a list of the app packages that are installed in a user profile. An app package has an .appx file name extension. 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.
매개 변수
-AllUsers
Indicates that this cmdlet lists app packages for all user accounts on the computer. To use this parameter, you must run the command by using administrator permissions.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Name<String>
Specifies the name of a particular package. If you specify this parameter, the cmdlet returns results for this package only. Wildcards are permitted.
별칭 |
none |
필수 여부 |
false |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-PackageTypeFilter<PackageTypes>
Specifies one or more comma-separated types of packages that the cmdlet gets from the package repository. Valid values are:
-- Bundle
-- Framework
-- Main
-- Resource
-- None
By default, this cmdlet returns only packages of types Main and Framework.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
True (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Publisher<String>
Specifies the publisher of a particular package. If you specify this parameter, the cmdlet returns results only for this publisher. Wildcards are permitted.
별칭 |
none |
필수 여부 |
false |
위치 |
2 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-User<String>
Specifies a user. If you specify this parameter, the cmdlet returns a list of app packages that are installed for only the user that this cmdlet 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 |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Volume<AppxVolume>
Specifies an AppxVolume object. If you specify this parameter, this cmdlet returns only packages that are relative to volume that this parameter specifies.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByValue,ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
- System.String[]
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
Microsoft.Windows.Appx.PackageManager.Commands.AppxPackage
This cmdlet returns an AppxPackage object that contains information, including the full name of the app package.
예
Example 1: Get all app packages for every user account
This command lists the app packages that are installed for every user account on the computer.
PS C:\> Get-AppxPackage -AllUsers
Example 2: Get an app package for a specific a user
This command displays information about Package17 if it is installed in the specified user profile.
PS C:\> Get-AppxPackage -Name "Package17" –User "Contoso\EvanNarvaez"