From 9dcf8dd50e20b522f71039114882bf50567dee47 Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:51:53 +0100 Subject: [PATCH] Exclude Windows Hello stuff from package removal --- functions/microwin/Microwin-RemovePackages.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/microwin/Microwin-RemovePackages.ps1 b/functions/microwin/Microwin-RemovePackages.ps1 index ed53056c..2f84451e 100644 --- a/functions/microwin/Microwin-RemovePackages.ps1 +++ b/functions/microwin/Microwin-RemovePackages.ps1 @@ -45,7 +45,8 @@ function Microwin-RemovePackages { $_ -NotLike "*Foundation*" -AND $_ -NotLike "*LanguageFeatures*" -AND $_ -NotLike "*VBSCRIPT*" -AND - $_ -NotLike "*License*" + $_ -NotLike "*License*" -AND + $_ -NotLike "*HelloFace*" } $failedCount = 0