I know I can access environment variables in PowerShell using $Env
. For example, I can access FOO
with $Env:FOO
.
I can't figure out how to access the environment variable called FOO.BAR
.
$Env:FOO.BAR
doesn't work. How can I access this from within PowerShell?