Remove non functional command

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-14 01:28:12 -07:00
parent bf05a7bbfc
commit e2fd0d29d7
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
$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 -AllUsers
mstsc /uninstall
Get-AppxPackage -AllUsers | Where-Object {$_.Name -Match $Bloat} | Remove-AppxPackage -AllUsers