major change to override Write-Error func
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Try { Start-Process "gpupdate" -ArgumentList '/force' -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
Reference in New Issue
Block a user