Export (0) Print
Expand All

Get-AppxLastError

Windows Server Technical Preview and Windows 10

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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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

Community Additions

ADD
Show:
© 2015 Microsoft