# $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.

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

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/env
