From e138e811ce3b3fba035655a6701e1c14a8772920 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Thu, 15 Dec 2022 13:31:09 -0500 Subject: [PATCH] wait for install to complete before continuing --- Install-EmberkomCloudBackup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install-EmberkomCloudBackup.ps1 b/Install-EmberkomCloudBackup.ps1 index 486c5b3..987ec55 100644 --- a/Install-EmberkomCloudBackup.ps1 +++ b/Install-EmberkomCloudBackup.ps1 @@ -21,7 +21,7 @@ Import-Module -Name MSP360 ## Install the agent LogMsg "Installing Emberkom Cloud Backup agent" -Try { Install-MBSAgent -URL $URL -Force } +Try { Install-MBSAgent -URL $URL -Force -Wait } Catch { LogErr $_.Exception.Message } ## Add backup user to installed product