I use a batch script to set some environment variables local to that shell. When I launch PowerShell from that command prompt, I was expecting those environment variables to be
Those environment variables should be there in PowerShell but you have to access them using the Environment provider e.g.:
$env:foo
where foo is the environment variable name.
foo