Get-AppxLastError
Get-AppxLastError
Get the last error reported in the app package installation logs.
구문
Get-AppxLastError [ <CommonParameters>]
자세한 설명
The Get-AppxLastError cmdlet gets the last error reported in the app package installation logs for the current Windows PowerShell® session. An app package has an .appx file name extension.
매개 변수
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
- None
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- System.Diagnostics.Eventing.Reader.EventLogRecord
예
Example 1: Get the last error
This command gets the last error reported in the app installation logs.
PS C:\> Get-AppxLastError