Need help to remove default Windows 10 apps via powershell -
i'm trying debloat windows 10 education running following commands in powershell script. can script remove apps logged in user new logs in, apps reappear.
here script:
get-appxpackage -allusers | where-object {$_.name –like “*3dbuilder*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowsalarms*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowscamera*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowscommunicationsapps*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*officehub*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*getstarted*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowsmap*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*solitairecollection*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*bingfinance*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*bingnews*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*zunevideo*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*people*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowsphone*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*bingsports*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowsstore*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*soundrecorder*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*bingweather*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*xboxapp*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*appconnector*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*minecraftuwp*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*messaging*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*windowsfeedbackhub*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*getstarted*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*gethelp*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*contactsupport*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*wallet*”} | remove-appxpackage get-appxpackage -allusers | where-object {$_.name –like “*oneconnect*”} | remove-appxpackage
any advice appreciated.
i'm not 100% sure think need use -online parameter
$apps = get-appxprovisionedpackage -online $apps | where-object {$_.displayname -like "*windowscommun*"} | remove-appxprovisionedpackage -online
Comments
Post a Comment