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




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


All Answers

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