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.
Get the last error reported in the app package installation logs.
The Get-AppxLastError function gets the last error reported in the app package (.appx) installation logs for the current Windows PowerShell session.
Online Version: http://go.microsoft.com/fwlink/p/?linkid=288128
Package Manager API
How to Deploy App Packages
This example gets the last error reported in the app installation logs.