major update to override Write-Output func

This commit is contained in:
2023-10-05 13:11:38 -04:00
parent 31a06a9206
commit bbb4884818
52 changed files with 377 additions and 378 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ Install-MSP360Module
Import-Module -Name MSP360
## Uninstall the agent
LogMsg "Uninstalling Emberkom Cloud Backup agent"
Write-Output "Uninstalling Emberkom Cloud Backup agent"
Try { Remove-MBSAgent -RemoveSettings -Force }
Catch { LogErr $_.Exception.Message }