This commit is contained in:
2021-10-07 09:40:42 -04:00
parent fe795e4ba1
commit 7825a5eb21
+1 -1
View File
@@ -5,8 +5,8 @@ Install-PSAteraModule
Import-Module -Name PSAtera
## Get LF host URL from Atera
LogMsg "Getting LiquidFiles host URL from Atera API"
Try {
LogMsg "Getting LiquidFiles host URL from Atera API"
Set-AteraAPIKey -APIKey $AteraAPIKey
$AteraAgent = Get-AteraAgent
$LFHost = $(Get-AteraCustomValue -ObjectType Customer -ObjectId $AteraAgent.CustomerID -FieldName 'LiquidFiles Host URL').ValueAsString