iT邦幫忙

0

PORWESHELL問題

想請教一下,是否可以自行做一個POWERSHELL的一個執行檔案,因為我想把WIN10APP移除寫進去,不想要一個一個刪除,如果用Get-AppxPackage -AllUsers | Remove-AppxPackage的話,會把市集刪除,便條紙刪除,小算盤刪除,因此是否可以把我想要刪除的一次寫進去然後直接管理身分執行此功能一次刪除我要刪除的檔案呢,感謝回答

get-appxpackage 3dbuilder | remove-appxpackage
get-appxpackage alarms | remove-appxpackage
get-appxpackage appconnector | remove-appxpackage
get-appxpackage appinstaller | remove-appxpackage
get-appxpackage communicationsapps | remove-appxpackage
get-appxpackage camera | remove-appxpackage
get-appxpackage feedback | remove-appxpackage
get-appxpackage getstarted | remove-appxpackage
get-appxpackage skypeapp | remove-appxpackage
get-appxpackage zunemusic | remove-appxpackage
get-appxpackage zune | remove-appxpackage
get-appxpackage maps | remove-appxpackage
get-appxpackage messaging | remove-appxpackage
get-appxpackage solitaire | remove-appxpackage
get-appxpackage wallet | remove-appxpackage
get-appxpackage connectivitystore | remove-appxpackage
get-appxpackage bingfinance | remove-appxpackage
get-appxpackage bing | remove-appxpackage
get-appxpackage zunevideo | remove-appxpackage
get-appxpackage bingnews | remove-appxpackage
get-appxpackage onenote | remove-appxpackage
get-appxpackage oneconnect | remove-appxpackage
get-appxpackage mspaint | remove-appxpackage
get-appxpackage people | remove-appxpackage
get-appxpackage commsphone | remove-appxpackage
get-appxpackage windowsphone | remove-appxpackage
get-appxpackage phone | remove-appxpackage
get-appxpackage bingsports | remove-appxpackage
get-appxpackage sway | remove-appxpackage
get-appxpackage 3d | remove-appxpackage
get-appxpackage soundrecorder | remove-appxpackage
get-appxpackage bingweather | remove-appxpackage
get-appxpackage holographic | remove-appxpackage
get-appxpackage xbox | remove-appxpackage

zero iT邦新手 1 級 ‧ 2019-04-12 20:03:20 檢舉
用個for或者foreach就解決了

1 個回答

1
兩津勘吉
iT邦新手 5 級 ‧ 2019-04-06 00:02:15

答案是可以,其餘常刪除的名稱可以參考以下連結
https://www.tenforums.com/tutorials/4689-uninstall-apps-windows-10-a.html

我要發表回答

立即登入回答