diff --git a/postinstall.ps1 b/postinstall.ps1 deleted file mode 100644 index e69de29..0000000 diff --git a/removeapps.ps1 b/removeapps.ps1 new file mode 100644 index 0000000..8ac99de --- /dev/null +++ b/removeapps.ps1 @@ -0,0 +1,20 @@ +$appsToRemove = @( + "Microsoft.ZuneVideo", + "MicrosoftTeams", + "Microsoft.GamingApp", + "Microsoft.XboxApp", + "Microsoft.XboxGameOverlay", + "Microsoft.XboxGamingOverlay", + "Microsoft.XboxIdentityProvider", + "Microsoft.XboxSpeechToTextOverlay", + "Microsoft.MixedReality.Portal", + "Microsoft.GetHelp", + "Microsoft.Getstarted", + "Microsoft.WindowsFeedbackHub", + "Microsoft.YourPhone", + "Microsoft.MicrosoftSolitaireCollection" +) + +foreach ($app in $appsToRemove) { + Get-AppxPackage -Name $app -ErrorAction SilentlyContinue | Remove-AppxPackage -ErrorAction SilentlyContinue +} \ No newline at end of file