Editar

Partilhar via


Get-AppxLastError

Get the last error reported in the app package installation logs.

Syntax

Get-AppxLastError []

Description

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 .msix or .appx file extension.

Examples

Example 1: Get the last error

Get-AppxLastError

This command gets the last error reported in the app installation logs.

Inputs

None

Outputs

EventLogRecord