Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AppxLastError

Get-AppxLastError

microsoft.windows.appx.packagemanager.commands.dll

Synopsis

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

Input Type

None

Return Type

System.Diagnostics.Eventing.Reader.EventLogRecord

Notes

None

Examples

Example 1

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

PS C:\>Get-AppxLastError

Online Version
Package Manager API
How to Deploy App Packages
Get-AppxPackage
Get-AppxPackageManifest
Remove-AppxPackage
Get-AppxLog
Add-AppxPackage