Get-AppxLog
Gets an app package installation log.
Syntax
Get-AppxLog
[-All]
[<CommonParameters>]
Get-AppxLog
[-ActivityId <System.String>]
[<CommonParameters>]
Description
The Get-AppxLog
cmdlet gets the app package installation log created during the deployment of
an app package. An app package has an .msix
or .appx
file 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.
Examples
Example 1: Get logs for the most recent deployment
Get-AppxLog
This command gets the logs associated with the most recent deployment operation.
Example 2: Get logs for all logs
Get-AppxLog -All
This command gets all the app package installation logs on the computer.
Parameters
-ActivityId
Specifies an activity ID. This cmdlet uses the ID to get the log for a particular app package installation.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | 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.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.System.String[]
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기