major change to override Write-Error func
This commit is contained in:
@@ -5,4 +5,4 @@ Import-Module -Name MSP360
|
||||
## Uninstall the agent
|
||||
Write-Output "Uninstalling Emberkom Cloud Backup agent"
|
||||
Try { Remove-MBSAgent -RemoveSettings -Force }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
|
||||
Reference in New Issue
Block a user