commend updates for clarity
This commit is contained in:
@@ -26,7 +26,7 @@ LogMsg "Installing Emberkom Cloud Backup agent"
|
|||||||
Try { Install-MBSAgent -URL $URL -Force }
|
Try { Install-MBSAgent -URL $URL -Force }
|
||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
## Get agent details and custom fields from Atera
|
## Add backup user to installed product
|
||||||
Try {
|
Try {
|
||||||
LogMsg "Getting Atera agent and custom field information"
|
LogMsg "Getting Atera agent and custom field information"
|
||||||
Set-AteraAPIKey -APIKey $AteraAPIKey
|
Set-AteraAPIKey -APIKey $AteraAPIKey
|
||||||
@@ -40,6 +40,7 @@ Try {
|
|||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
## Set the agent edition
|
## 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"""
|
LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition"""
|
||||||
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
|
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
|
||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
Reference in New Issue
Block a user