diff --git a/Install-AteraAgent.ps1 b/Install-AteraAgent.ps1 index 43a05ad..024b384 100644 --- a/Install-AteraAgent.ps1 +++ b/Install-AteraAgent.ps1 @@ -6,7 +6,7 @@ ) # Make sure $INTEGRATOR_ID exists, otherwise exit this script as an agent cannot be downloaded -If ( -not ($INTEGRATOR_ID) ) { Exit } +If ( ($INTEGRATOR_ID -eq $null) -or ($INTEGRATOR_ID -eq '') ) { Exit } # Source the Tools.ps1 script Function SourceTools