Output Environment Variable
Print environment variable to the console in PowerShell
commit 98c9de3 · authored · 1 min read
If you want to print the value of an environment variable, you can use the $env:variable_name syntax.
$env:MY_VARIABLEReplace MY_VARIABLE with the name of the environment variable you want to print.