major change to override Write-Error func
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
Write-Output "Clearing Outlook auto complete cache"
|
||||
Try { Start-Process "outlook.exe" -ArgumentList "/CleanAutoCompleteCache" -ErrorAction Stop }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
Reference in New Issue
Block a user