Export (0) Print
Expand All

Get-AppxLastError

Get-AppxLastError

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

Syntax


Get-AppxLastError [ <CommonParameters>]




Detailed 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, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Diagnostics.Eventing.Reader.EventLogRecord

Examples

Example 1: Get the last error

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


PS C:\> Get-AppxLastError

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft