Files
management-scripts/Uninstall-EmberkomCloudBackup.ps1
T
2021-12-22 10:53:03 -05:00

9 lines
262 B
PowerShell

## Install and import additional Powershell modules
Install-MSP360Module
Import-Module -Name MSP360
## Uninstall the agent
LogMsg "Uninstalling Emberkom Cloud Backup agent"
Try { Remove-MBSAgent -RemoveSettings -Force }
Catch { LogErr $_.Exception.Message }