PowerShell Logo Small

Remove-AppxPackage



This is the built-in help made by Microsoft for the command 'Remove-AppxPackage', 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

Removes an app package (.appx) from a user account.

SYNTAX


Remove-AppxPackage [-Package] <String> [-PreserveApplicationData] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-AppxPackage cmdlet removes an app package (.appx) from a user account.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288127
Package Manager API
How to Add and Remove Apps
Get-AppxPackage
Get-AppxPackageManifest
Add-AppxPackage
Get-AppxLog
Get-AppxLastError

REMARKS

<

Examples


Example 1

PS C:\>Remove-AppxPackage package1_1.0.0.0_neutral__8wekyb3d8bbwe



This command removes an app package named package1_1.0.0.0_neutral__8wekyb3d8bbwe from the account of the currently logged-on user.