NAME
Get-AppxLastError
SYNOPSIS
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 PowerShellr session. An app package has an .appx file name extension.PARAMETERS
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
NoneOUTPUTS
System.Diagnostics.Eventing.Reader.EventLogRecordNOTES
Example 1: Get the last error
PS C:\> Get-AppxLastError
This command gets the last error reported in the app installation logs.RELATED LINKS
Package Manager API http://go.microsoft.com/fwlink/?LinkId=245447 How to Deploy App Packages http://go.microsoft.com/fwlink/?LinkID=231020Get-AppxPackage
Get-AppxPackageManifest
Get-AppxLog