update
This commit is contained in:
@@ -5,8 +5,8 @@ Install-PSAteraModule
|
|||||||
Import-Module -Name PSAtera
|
Import-Module -Name PSAtera
|
||||||
|
|
||||||
## Get LF host URL from Atera
|
## Get LF host URL from Atera
|
||||||
Try {
|
|
||||||
LogMsg "Getting LiquidFiles host URL from Atera API"
|
LogMsg "Getting LiquidFiles host URL from Atera API"
|
||||||
|
Try {
|
||||||
Set-AteraAPIKey -APIKey $AteraAPIKey
|
Set-AteraAPIKey -APIKey $AteraAPIKey
|
||||||
$AteraAgent = Get-AteraAgent
|
$AteraAgent = Get-AteraAgent
|
||||||
$LFHost = $(Get-AteraCustomValue -ObjectType Customer -ObjectId $AteraAgent.CustomerID -FieldName 'LiquidFiles Host URL').ValueAsString
|
$LFHost = $(Get-AteraCustomValue -ObjectType Customer -ObjectId $AteraAgent.CustomerID -FieldName 'LiquidFiles Host URL').ValueAsString
|
||||||
|
|||||||
Reference in New Issue
Block a user