PowerShell obtenga todas las variables de entorno
# Windows Powershell
Get-ChildItem Env:
Muddy Moose
# Windows Powershell
Get-ChildItem Env:
# Windows PowerShell
PS C:\> $env:VAR_NAME="VALUE"
[System.Environment]::GetEnvironmentVariables()
#pws
$Env:path
Get-ChildItem env
echo $Env:PATH | tr ';' '\n'
Get-Childitem -path env: