PowerShell Logo Small

Get-AppxLastError



This is the built-in help made by Microsoft for the command 'Get-AppxLastError', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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

SYNTAX


Get-AppxLastError [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-AppxLastError function gets the last error reported in the app package (.appx) installation logs for the current Windows PowerShell session.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=288128
Package Manager API
How to Deploy App Packages
Get-AppxPackage
Get-AppxPackageManifest
Remove-AppxPackage
Get-AppxLog
Add-AppxPackage

REMARKS

<

Examples


Example 1

PS C:\>Get-AppxLastError



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