Hide Output

This commit is contained in:
zoicware
2024-10-09 20:58:21 -04:00
committed by GitHub
parent 9b4ef9abdb
commit 15f43ed127

View File

@@ -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