wait for install to complete before continuing

This commit is contained in:
2022-12-15 13:31:09 -05:00
parent c804483441
commit e138e811ce
+1 -1
View File
@@ -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