PowerShell Obtenha todas as variáveis de ambiente
# 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: