Otherwise to avoid mistype when load Environment variable value to the current session, you could try:
$env:MY_VARIABLE = [Environment]::GetEnvironmentVariable("MY_VARIABLE", "User")