Get-AppxLog
Get-AppxLog
Gets an app package (.appx) installation log.
구문
Parameter Set: All
Get-AppxLog [-All] [ <CommonParameters>]
Parameter Set: ActivityId
Get-AppxLog [-ActivityId <String> ] [ <CommonParameters>]
자세한 설명
The Get-AppxLog function gets the app package (.appx) installation log created during the deployment of an app package (.appx). The log contains errors, warnings, and additional information about the processes initiated by cmdlets in the Appx PowerShell module.
When Add-AppxPackage or Remove-AppxPackage report a failure, they will 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>
Gets the log for a particular app package (.appx) installation.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-All
Gets all logs on the computer. You can get additional information when you run this cmdlets from Windows PowerShell as an administrator.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- System.String[]
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- System.Diagnostics.Eventing.Reader.EventLogRecord
예제
Example 1
This example gets the logs associated with the most recent deployment operation.
PS C:\> Get-AppxLog
Example 2
This example gets all the app package installation logs on the computer.
PS C:\> Get-AppxLog -All
관련 항목
Troubleshooting packaging, deployment, and query of Windows Store apps