diff --git a/Install-AteraAgent.ps1 b/Install-AteraAgent.ps1 index 7745f7d..d33b6db 100644 --- a/Install-AteraAgent.ps1 +++ b/Install-AteraAgent.ps1 @@ -6,8 +6,8 @@ ) ## Make $INTEGRATOR_ID URL safe -$INTEGRATOR_ID = $INTEGRATOR_ID -replace '@','%40' -$INTEGRATOR_ID = $INTEGRATOR_ID -replace '+','%2B' +$INTEGRATOR_ID = $INTEGRATOR_ID -replace [Regex]::Escape('@'),'%40' +$INTEGRATOR_ID = $INTEGRATOR_ID -replace [Regex]::Escape('+'),'%2B' ## Set the Atera URL for your specific environment $BASE_URL = 'https://emberkom.atera.com'