Get-AppxLastError
Applies To: Windows 8, Windows Server 2012
Get-AppxLastError
Get the last error reported in the app package installation logs.
Syntax
Get-AppxLastError [ <CommonParameters>]
Detailed Description
The Get-AppxLastError function gets the last error reported in the app package (.appx) installation logs for the current Windows PowerShell session.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. 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
This example gets the last error reported in the app installation logs.
PS C:\> Get-AppxLastError