$EnvironmentVariable
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
$EnvironmentVariable
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
$EnvironmentVariable
Returns the value of the specified environment variable on the current server.
Script usage:
$EnvironmentVariable(EnvironmentVariableName)
Parameters:
Name | Description |
---|---|
☆ EnvironmentVariableName | The name of the environment variable. |
Example:
# get the PATH on the server in context during an execution set $Path = $EnvironmentVariable(PATH); Log-Information $Path;
Was this article helpful?