Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

$EnvironmentVariable

Returns the value of the specified environment variable on the current server.

Script usage:

$EnvironmentVariable(EnvironmentVariableName)

Parameters:

NameDescription
EnvironmentVariableNameThe name of the environment variable.

Example:


# get the PATH on the server in context during an execution
set $Path = $EnvironmentVariable(PATH);
Log-Information $Path;