From 173d106ef1dd1bf515b37ea78f222bbd7fa373cf Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Fri, 2 Mar 2018 21:09:36 -0800 Subject: [PATCH] Added CanonicalGroupLimited.UbuntuonWindows to whitelisted apps --- Windows10Debloater.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows10Debloater.ps1 b/Windows10Debloater.ps1 index d365e36..1094f0e 100644 --- a/Windows10Debloater.ps1 +++ b/Windows10Debloater.ps1 @@ -19,7 +19,7 @@ Function Start-Debloat { #Removes AppxPackages #Credit to /u/GavinEke for a modified version of my whitelist code - [regex]$WhitelistedApps = 'Microsoft.Paint3D|Microsoft.WindowsCalculator|Microsoft.WindowsStore|Microsoft.Windows.Photos' + [regex]$WhitelistedApps = 'Microsoft.Paint3D|Microsoft.WindowsCalculator|Microsoft.WindowsStore|Microsoft.Windows.Photos|CanonicalGroupLimited.UbuntuonWindows' Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage -ErrorAction SilentlyContinue Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -NotMatch $WhitelistedApps} | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue }