PowerShell Logo Small

Remove-ProvisionedAppxPackage



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

SYNTAX


Remove-AppxProvisionedPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Online
-PackageName <String> [<CommonParameters>]
Remove-AppxProvisionedPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -PackageName
<String> -Path <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-AppxProvisionedPackage cmdlet removes app packages (.appx) from a Windows image. App packages will not be installed when new user accounts are created. Packages
will not be removed from existing user accounts. To remove app packages (.appx) that are not provisioned or to remove a package for a particular user only, use
Remove-AppxPackage instead.



<
Get-AppxProvisionedPackage
Set-AppXProvisionedDataFile

REMARKS

<

Examples


Example 1

PS C:\>Remove-AppxProvisionedPackage –Path c:\offline –PackageName MyAppxPkg



This command removes the app package (.appx), MyAppxPkg, from the Windows image that is mounted to c:\offline.