diff --git a/Install-EmberkomCloudBackup.ps1 b/Install-EmberkomCloudBackup.ps1 index fff71ac..95b3071 100644 --- a/Install-EmberkomCloudBackup.ps1 +++ b/Install-EmberkomCloudBackup.ps1 @@ -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