Get-AppxLog
Get-AppxLog
Gets an app package installation log.
구문
Parameter Set: All
Get-AppxLog [-All] [ <CommonParameters>]
Parameter Set: ActivityId
Get-AppxLog [-ActivityId <String> ] [ <CommonParameters>]
자세한 설명
The Get-AppxLog cmdlet gets the app package installation log created during the deployment of an app package. An app package has an .appx file name extension. The log contains errors, warnings, and additional information about the processes initiated by cmdlets in the Appx Windows PowerShell® module.
When Add-AppxPackage or Remove-AppxPackage report a failure, they return the ActivityID to use with Get-AppxLog.
For more information about common error codes, see Troubleshooting packaging, deployment, and query of Windows Store apps.
매개 변수
-ActivityId<String>
Specifies an activity ID. This cmdlet uses the ID to get the log for a particular app package installation.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-All
Indicates that the cmdlet gets all logs on the computer. You can get additional information when you run this cmdlets from Windows PowerShell as an administrator.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
- System.String[]
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- System.Diagnostics.Eventing.Reader.EventLogRecord
예
Example 1: Get logs for the most recent deployment
This command gets the logs associated with the most recent deployment operation.
PS C:\> Get-AppxLog
Example 2: Get logs for all logs
This command gets all the app package installation logs on the computer.
PS C:\> Get-AppxLog -All
관련 항목
Troubleshooting packaging, deployment, and query of Windows Store apps