From c2ae724f0eaf7ddcda7d86625aac992143bc87ba Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Wed, 13 Mar 2024 18:33:51 +0000 Subject: [PATCH] Add 'debloat.ps1' --- debloat.ps1 | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 debloat.ps1 diff --git a/debloat.ps1 b/debloat.ps1 new file mode 100644 index 0000000..b611d47 --- /dev/null +++ b/debloat.ps1 @@ -0,0 +1,43 @@ +$packageIds = @( + "Microsoft.3DBuilder" + "Microsoft.BingFinance" + "Microsoft.BingNews" + "Microsoft.BingSports" + "Microsoft.BingTranslator" + "Microsoft.BingWeather" + "Microsoft.GetHelp" + "Microsoft.Getstarted" + "Microsoft.Messaging" + "Microsoft.Microsoft3DViewer" + "Microsoft.MicrosoftOfficeHub" + "Microsoft.MicrosoftSolitaireCollection" + "Microsoft.NetworkSpeedTest" + "Microsoft.Office.OneNote" + "Microsoft.OneConnect" + "Microsoft.People" + "Microsoft.Print3D" + "Microsoft.RemoteDesktop" + "Microsoft.Windows.Photos" + "Microsoft.WindowsAlarms" + "Microsoft.WindowsCamera" + "microsoft.windowscommunicationsapps" + "Microsoft.WindowsFeedbackHub" + "Microsoft.WindowsMaps" + "Microsoft.WindowsSoundRecorder" + "Microsoft.Xbox.TCUI" + "Microsoft.XboxApp" + "Microsoft.XboxGameOverlay" + "Microsoft.XboxGamingOverlay" + "Microsoft.XboxSpeechToTextOverlay" + "Microsoft.YourPhone" + "Microsoft.ZuneMusic" + "Microsoft.ZuneVideo" + "Microsoft.3DViewer" + "Microsoft.People*" + "Microsoft.MSPaint" + "Windows.DevHome*" +) + +foreach ($id in $packageIds) { + Get-AppxPackage -allusers $id | Remove-AppxPackage -AllUsers +} \ No newline at end of file