< Back

Get-AppxLastError

Tue Jan 29, 2019 9:25 pm

NAME Get-AppxLastError



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.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Diagnostics.Eventing.Reader.EventLogRecord







NOTES









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=231020

Get-AppxPackage

Get-AppxPackageManifest

Get-AppxLog