Remove-AppxPackage

http://technet.microsoft.com/en-us/library/hh856038.aspx


Remove-AppxPackage

This topic has not yet been rated Rate this topic
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Remove-AppxPackage

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

Syntax

Parameter Set: RemoveByPackageSet
Remove-AppxPackage [-Package] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

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

Parameters

-Package<String>

Specifies an AppxPackage object or the full name of a package.


Aliases

none

Required?

true

Position?

1

Default Value

false

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, seeabout_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • AppxPackage

    An array of AppxPackage objects that contain information, including the full name of the app package.


Examples

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


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

Related topics


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值