Hide Output
This commit is contained in:
@@ -85,7 +85,7 @@ foreach ($sid in $users) { foreach ($PackageName in $eol) { Remove-Item "$store\
|
|||||||
#remove recall optional feature
|
#remove recall optional feature
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove -ErrorAction Stop | Out-Null
|
Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove -ErrorAction Stop *>$null
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
#hide error
|
#hide error
|
||||||
|
|||||||
Reference in New Issue
Block a user