# Windows PowerShell
PS C:> $env:VAR_NAME="VALUE"
[System.Environment]::GetEnvironmentVariables()
#pws
$Env:path
Get-ChildItem env
Get-Childitem -path env:
#Windows Powershell
cd Env:
Get-ChildItem
$env:variable = 'variable value'
gci env:* | sort-object name
gci env: | sort name