powershell set environment variable

Shell
# Windows PowerShell
PS C:\> $env:VAR_NAME="VALUE"
Source

Also in Shell: