Remove-AppxPackage
Removes an app package from a user account.
Remove-AppxPackage
[-Package] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Remove-AppxPackage cmdlet removes an app package from a user account. An app package has an .appx file name extension.
PS C:\>Remove-AppxPackage -Package "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 current user.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an AppxPackage object or the full name of a package.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
String[]
Microsoft.Windows.Appx.PackageManager.Commands.AppxPackage
An AppxPackage object that contain information, including the full name of the app package.
None