From 15f43ed12719482cd3de56b33dec4d9cbf720904 Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Wed, 9 Oct 2024 20:58:21 -0400 Subject: [PATCH] Hide Output --- RemoveAi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RemoveAi.ps1 b/RemoveAi.ps1 index deec2e5..a20b800 100644 --- a/RemoveAi.ps1 +++ b/RemoveAi.ps1 @@ -85,7 +85,7 @@ foreach ($sid in $users) { foreach ($PackageName in $eol) { Remove-Item "$store\ #remove recall optional feature $ProgressPreference = 'SilentlyContinue' try { - Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove -ErrorAction Stop | Out-Null + Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove -ErrorAction Stop *>$null } catch { #hide error