add uninstall script
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
## 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 }
|
||||||
Reference in New Issue
Block a user