如何在powershell下使用get-appxpackage卸载命令

2025-05-17 04:24:35
推荐回答(2个)
回答(1):

在开始菜单“所有应用”中找到Windows PowerShell右击以管理员身份运行

界面如图所示

把你想要删除的应用对应的指令输入进去按回车:
比如我要删除手机伴侣(Phone Companion)它对应的指令复制这条指令:
Get-AppxPackage *phone* | Remove-AppxPackage

粘贴的到Windows PowerShell界面然后回车,出现这种情况说明软件被卸载完成

卸载完成后的界面,所有指令如下:只能一个一个删

OneNote:
Get-AppxPackage *OneNote* | Remove-AppxPackage

3D:
Get-AppxPackage *3d* | Remove-AppxPackage

Camera相机:
Get-AppxPackage *camera* | Remove-AppxPackage

邮件和日历:
Get-AppxPackage *communi* | Remove-AppxPackage

新闻订阅:
  Get-AppxPackage *bing* | Remove-AppxPackage

Groove音乐、电影与电视:
  Get-AppxPackage *zune* | Remove-AppxPackage

人脉:
  Get-AppxPackage *people* | Remove-AppxPackage

手机伴侣(Phone Companion):
  Get-AppxPackage *phone* | Remove-AppxPackage

照片:
  Get-AppxPackage *photo* | Remove-AppxPackage

纸牌游戏(还敢要钱的那货):
  Get-AppxPackage *solit* | Remove-AppxPackage

录音机:
  Get-AppxPackage *soundrec* | Remove-AppxPackage

Xbox:
  Get-AppxPackage *xbox* | Remove-AppxPackage

回答(2):

可以装一个电脑管家在电脑上
然后打开工具箱,找到软件管理
在这里面,可以看到有卸载的功能,上面会显示软件具体作用,接着点击后面卸载就行