From a5a06c2a9b9d45d0b6f99435af66cb64668fcd4d Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Sun, 15 Sep 2024 21:22:32 +0200 Subject: [PATCH] [MicroWin] Exclude Snip & Sketch from AppX removal (#2737) --- functions/private/Invoke-WinUtilMicroWin-Helper.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 index 0c485a4c..d7d1981c 100644 --- a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 +++ b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 @@ -165,7 +165,8 @@ function Remove-ProvisionedPackages() { $_.PackageName -NotLike "*Paint*" -and $_.PackageName -NotLike "*Gaming*" -and $_.PackageName -NotLike "*Extension*" -and - $_.PackageName -NotLike "*SecHealthUI*" + $_.PackageName -NotLike "*SecHealthUI*" -and + $_.PackageName -NotLike "*ScreenSketch*" } $counter = 0