use traditional install method instead of MSP360 module cmdlet

This commit is contained in:
2021-09-22 16:56:38 -04:00
parent c3688f86cd
commit 3666f647ff
+2 -1
View File
@@ -21,7 +21,8 @@ Import-Module -Name MSP360
## Install the agent
LogMsg "Installing Emberkom Cloud Backup agent"
Try { Install-MBSAgent -URL $URL -Force }
$INSTALLER = Download-File -URL $URL
Try { Start-Process $INSTALLER -ArgumentList "/S" -Wait }
Catch { LogErr $_.Exception.Message }
## Set the agent edition