$env:

say it: “DOL-er EN-vee” /ˈdɑlər ˈɛnvi/

Reads and sets environment variables.

What does $env: do?

$env: reads and sets environment variables for the current session.

$env:PATH
$env:ASPNETCORE_ENVIRONMENT = 'Development'

Level: Apprentice · More PowerShell terms at this level

Updated