卸载powershell
时间: 2023-09-18 19:14:17 浏览: 306
回答: 若要卸载一个应用程序,你可以使用Powershell脚本。首先,你需要找到要卸载的应用程序的PackageFullName,然后将其替换到卸载应用程序的代码模板中的<PackageFullName>处。例如,如果你要卸载XboxApp应用程序,你可以使用以下代码进行卸载:
```powershell
Get-AppxPackage -AllUsers | Where-Object { $_.Name -eq "XboxApp" } | Remove-AppxPackage
```
这将从所有用户中找到名为XboxApp的应用程序,并将其卸载。请确保在Powershell中右击鼠标以粘贴PackageFullName的值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [使用Windows Powershell卸载和安装Win10 原生应用的方法](https://blog.csdn.net/weixin_39802884/article/details/119251285)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [powershell脚本静默卸载软件](https://blog.csdn.net/purvispanwu/article/details/123938783)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Powershell - 卸载程序](https://blog.csdn.net/free2o/article/details/8487291)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文