/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Windows App store App removal / Management

07/06/2017 1783 views
# This script tries to remove what I have seen as most common not needed with 10 apps.

# any other suggestion to make windows 10 enterprise lean

Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -Scope CurrentUser
$apps = @(
       
      

        #third party non-microsoft apps

        # non-Microsoft
    "9E2F88E3.Twitter"
    "PandoraMediaInc.29680B314EFC2"
    "Flipboard.Flipboard"
    "ShazamEntertainmentLtd.Shazam"
    "king.com.CandyCrushSaga"
    "king.com.CandyCrushSodaSaga"
    "king.com.*"
    "ClearChannelRadioDigital.iHeartRadio"
    "4DF9E0F8.Netflix"
    "6Wunderkinder.Wunderlist"
    "Drawboard.DrawboardPDF"
    "2FE3CB00.PicsArt-PhotoStudio"
    "D52A8D61.FarmVille2CountryEscape"
    "TuneIn.TuneInRadio"
    "GAMELOFTSA.Asphalt8Airborne"
   

   
    #"TheNewYorkTimes.NYTCrossword"
    "DB6EA5DB.CyberLinkMediaSuiteEssentials"
    "Facebook.Facebook"
    "flaregamesGmbH.RoyalRevolt2"
    "Playtika.CaesarsSlotsFreeCasino"

    #microsoft
    "Microsoft.BingFoodAndDrink"
    "Microsoft.BingTravel"
    "Microsoft.BingHealthAndFitness"
    "Microsoft.WindowsReadingList"
    "*windowscommunicationsapps*"
    "*skypeapp*"
    "*onenote*"
    "*people*"
    "*bingsports*"
    "*zunevideo*"
    "Microsoft.CommsPhone"
    "Microsoft.ConnectivityStore"
    "Microsoft.Messaging"
    "Microsoft.Office.Sway"
    "Microsoft.OneConnect"
    "Microsoft.WindowsFeedbackHub"
    "*solitairecollection*"
    "Microsoft.XboxApp"


    )

    foreach ($app in $apps)
    {
        Get-AppxPackage $app -AllUsers | Remove-AppxPackage -AllUsers
    }
0 Comments   [ + ] Show comments

Comments


All Answers

0
In my experience if you remove apps like this you will only take them out for the current user account.

You need to get the provisioned packages to affect other users on the machine, especially those who have not logged in yet to create an account. 

Have you tested that?
Answered 07/20/2017 by: ViciousXUSMC
Senior Yellow Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ