diff --git a/Debloat/Parallels.txt b/Debloat/Parallels.txt deleted file mode 100644 index 60d713d..0000000 --- a/Debloat/Parallels.txt +++ /dev/null @@ -1,18 +0,0 @@ -MicrosoftTeams -Microsoft.ScreenSketch -Microsoft.Paint -Microsoft.549981C3F5F10 -Microsoft.MicrosoftOfficeHub -Microsoft.WindowsFeedbackHub -Microsoft.People -Clipchamp.Clipchamp -Microsoft.GetStarted -MicrosoftCorporationII.QuickAssist -Microsoft.WindowsAlarms -Microsoft.WindowsSoundRecorder -Microsoft.XboxGamingOverlay -Microsoft.YourPhone -Microsoft.WindowsMaps -Microsoft.MicrosoftSolitaireCollection -Microsoft.Windows.DevHome -Microsoft.OutlookForWindows \ No newline at end of file diff --git a/Debloat/README.md b/Debloat/README.md index 897812f..f6c0810 100644 --- a/Debloat/README.md +++ b/Debloat/README.md @@ -18,7 +18,7 @@ As such, if you want to make sure all of the annoying APPX/MSIX apps are gone, i - Run `Get-AppxPackage -AllUsers | Remove-AppxPackage -AllUsers` to remove the unwanted packages. -- "Uninstall" the remaining annoying apps from the Start Menu. They are not really apps on the system, they are just annoying shortcuts which will install the apps when you click on them. The list of packages I remove on my Parallels system is in the `Parallels.txt` file. +- "Uninstall" the remaining annoying apps from the Start Menu. They are not really apps on the system, they are just annoying shortcuts which will install the apps when you click on them. - Open the terminal and run `winget list` to see the remaining packages (note that this will not exclude Framework packages). Remove the remaining undesirable apps with `winget remove `. In most cases, this will just be OneDrive. diff --git a/Scripts/DeBloat.ps1 b/Scripts/DeBloat.ps1 new file mode 100644 index 0000000..0009ba6 --- /dev/null +++ b/Scripts/DeBloat.ps1 @@ -0,0 +1,4 @@ +$Bloat = 'MicrosoftTeams|Microsoft.ScreenSketch|Microsoft.Paint|Microsoft.549981C3F5F10|Microsoft.MicrosoftOfficeHub|Microsoft.WindowsFeedbackHub|Microsoft.People|Clipchamp.Clipchamp|Microsoft.GetStarted|MicrosoftCorporationII.QuickAssist|Microsoft.WindowsAlarms|Microsoft.WindowsSoundRecorder|Microsoft.YourPhone|Microsoft.WindowsMaps|Microsoft.MicrosoftSolitaireCollection|Microsoft.Windows.DevHome|Microsoft.OutlookForWindows' + +Get-AppxPackage -AllUsers | Where-Object {$_.Name -Match $Bloat} | Remove-AppxPackage +mstsc /uninstall \ No newline at end of file