PowerShell Logo Small

Get-AppxLog



This is the built-in help made by Microsoft for the command 'Get-AppxLog', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Gets an app package (.appx) installation log.

SYNTAX


Get-AppxLog [-All] [<CommonParameters>]
Get-AppxLog [-ActivityId <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-AppxLog function gets the app package (.appx) installation log created during the deployment of an app package (.appx). The log contains errors, warnings, and
additional information about the processes initiated by cmdlets in the Appx PowerShell module.


When Add-AppxPackage or Remove-AppxPackage report a failure, they will return the ActivityID to use with Get-AppxLog.


For more information about common error codes, see Troubleshooting packaging, deployment, and query of Windows Store apps.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=288116
Package Manager API
How to Add and Remove Apps
Troubleshooting packaging, deployment, and query of Windows Store apps
Get-AppxPackage
Get-AppxPackageManifest
Remove-AppxPackage
Add-AppxPackage
Get-AppxLastError

REMARKS

<

Examples


Example 1

PS C:\>Get-AppxLog



This example gets the logs associated with the most recent deployment operation.




Example 2

PS C:\>Get-AppxLog -All



This example gets all the app package installation logs on the computer.