Variável de ambiente de conjunto de powershell
# Windows PowerShell
PS C:\> $env:VAR_NAME="VALUE"
Cautious Capuchin
# 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:
$env:variable = 'variable value'