Windows PowerShell command on Get-command Remove-AppPackage
MyWebUniversity

Windows PowerShell command on Get-command Remove-AppPackage

NAME

Remove-AppxPackage

SYNOPSIS

Removes an app package from a user account.

SYNTAX

Remove-AppxPackage [-Package] [-AllUsers] [-Confirm] [-WhatIf] []

Remove-AppxPackage [-Package] [-PreserveApplicationData] [-Confirm] [-WhatIf] []

Remove-AppxPackage [-Package] -User [-Confirm] [-WhatIf] []

DESCRIPTION

The Remove-AppxPackage cmdlet removes an app package from a user account. An app package has an .appx file name

extension.

PARAMETERS

-AllUsers []

{{Fill AllUsers Description}} Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false

-Package

Specifies an AppxPackage object or the full name of a package. Required? true Position? 1 Default value None Accept pipeline input? True (ByValue) Accept wildcard characters? false

-PreserveApplicationData []

Specifies that the cmdlet preserves the application data during the package removal. The application data is available for later use. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false

-User

{{Fill User Description}} Required? true Position? named Default value None Accept pipeline input? False Accept wildcard characters? false

-Confirm []

Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false

-WhatIf []

Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false 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

System.String[] Microsoft.Windows.Appx.PackageManager.Commands.AppxPackage An AppxPackage object that contain information, including the full name of the app package.

OUTPUTS

None

NOTES

Example 1: Remove an app package

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.

RELATED LINKS

Package Manager API http://go.microsoft.com/fwlink/?LinkId=245447 How to Add and Remove Apps http://go.microsoft.com/fwlink/?LinkID=231020

Get-AppxPackage

Get-AppxPackageManifest

Add-AppxPackage

Move-AppxPackage

Get-AppxLog

Get-AppxLastError



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