On Windows Threshold beta, I can run:
$env:username
And see the username. I can also run:
[environment]::username
And see the username.
However while I can run
$env:computername
To see the hostname, trying to run:
[environment]::computername
does not show any results.
Why doesn't [environment]::computername work? What's the difference between $env and [environment]?
