From 6f8bbe1d2fe1386faef99abf042b19f6dab5c5a8 Mon Sep 17 00:00:00 2001 From: dyoder Date: Sun, 26 Sep 2021 14:22:19 -0400 Subject: [PATCH] commend updates for clarity --- Install-EmberkomCloudBackup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Install-EmberkomCloudBackup.ps1 b/Install-EmberkomCloudBackup.ps1 index cded21b..6bc0ec0 100644 --- a/Install-EmberkomCloudBackup.ps1 +++ b/Install-EmberkomCloudBackup.ps1 @@ -26,7 +26,7 @@ LogMsg "Installing Emberkom Cloud Backup agent" Try { Install-MBSAgent -URL $URL -Force } Catch { LogErr $_.Exception.Message } -## Get agent details and custom fields from Atera +## Add backup user to installed product Try { LogMsg "Getting Atera agent and custom field information" Set-AteraAPIKey -APIKey $AteraAPIKey @@ -40,6 +40,7 @@ Try { Catch { LogErr $_.Exception.Message } ## Set the agent edition +## Note: the product edition must be set *after* the user is added LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition""" Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose } Catch { LogErr $_.Exception.Message } \ No newline at end of file