I am trying to read $env:CATALINA_HOME from hookscript of aws codedeploy. But i get blank value instead of actual value. When the script run independently on machine it returns actual value.
Is there way to read system environment variable from hookscript..?