---
title: "$EnvironmentVariable"
---
Returns the value of the specified environment variable on the current server.
$EnvironmentVariable(EnvironmentVariableName)
Name | Description |
---|---|
☆ EnvironmentVariableName | The name of the environment variable. |
# get the PATH on the server in context during an execution
set $Path = $EnvironmentVariable(PATH);
Log-Information $Path;