Windows PowerShell command on Get-command Get-AppPackageLastError
MyWebUniversity

Windows PowerShell command on Get-command Get-AppPackageLastError

NAME

Get-AppxLastError

SYNOPSIS

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

SYNTAX

Get-AppxLastError []

DESCRIPTION

The Get-AppxLastError cmdlet gets the last error reported in the app package installation logs for the current

Windows PowerShellr session. An app package has an .appx file name extension.

PARAMETERS

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None

OUTPUTS

System.Diagnostics.Eventing.Reader.EventLogRecord

NOTES

Example 1: Get the last error

PS C:\> Get-AppxLastError

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

RELATED LINKS

Package Manager API http://go.microsoft.com/fwlink/?LinkId=245447 How to Deploy App Packages http://go.microsoft.com/fwlink/?LinkID=231020

Get-AppxPackage

Get-AppxPackageManifest

Get-AppxLog



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™