From 3666f647ff4a5fb74f0738b5e45f95752eda100a Mon Sep 17 00:00:00 2001 From: dyoder Date: Wed, 22 Sep 2021 16:56:38 -0400 Subject: [PATCH] use traditional install method instead of MSP360 module cmdlet --- Install-EmberkomCloudBackup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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