-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremove-win-bloat.ps1
30 lines (22 loc) · 1.32 KB
/
remove-win-bloat.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# If you would like to add/remove packages run this in your terminal to view your packages
# Get-AppxPackage | Select Name, PackageFullName
# Format for removing packages should you want to trim or add to this list
# Get-AppxPackage **| Remove-AppxPackage
# Removing General Bloat
Get-AppxPackage *Microsoft.ZuneMusic*| Remove-AppxPackage
Get-AppxPackage *Microsoft.MixedReality.Portal* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BingNews*| Remove-AppxPackage
Get-AppxPackage *Clipchamp.Clipchamp*| Remove-AppxPackage
Get-AppxPackage *Microsoft.MicrosoftSolitaireCollection*| Remove-AppxPackage
Get-AppxPackage *Microsoft.GamingApp*| Remove-AppxPackage
Get-AppxPackage *Microsoft.SkypeApp*| Remove-AppxPackage
Get-AppxPackage *Microsoft.ZuneVideo*| Remove-AppxPackage
Get-AppxPackage *Microsoft.BingWeather*| Remove-AppxPackage
# Removing Xbox Bloat
# Finds Xbox related packages on your system !! This removes all Xbox packages except the finnicky XboxGameCableUI
dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox
# Removes Xbox related packages
Get-ProvisionedAppxPackage -Online | `
Where-Object { $_.PackageName -match "xbox" } | `
ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }
Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage