Steps to reproduce
- Set user or system environment variable
TEST to test
- Open a Powershell terminal
- Remove the
TEST variable from the user/system environment
- Run Update-SessionEnvironment in the Powershell window
- Run
echo $env:TEST
Expected result
No output, env var was removed
Actual result
Test variable still exists in the PowerShell context
Steps to reproduce
TESTtotestTESTvariable from the user/system environmentecho $env:TESTExpected result
No output, env var was removed
Actual result
Testvariable still exists in the PowerShell context