Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-AppxLastError

Last Updated: 3/26/2017

SYNOPSIS

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

SYNTAX

Get-AppxLastError [<CommonParameters>]

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

EXAMPLES

Example 1: Get the last error

PS C:\> Get-AppxLastError

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

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Diagnostics.Eventing.Reader.EventLogRecord

NOTES

Package Manager API

How to Deploy App Packages

Get-AppxPackage

Get-AppxPackageManifest

Get-AppxLog

© 2017 Microsoft