Answers for "how to add environment variable to app in powershell"

18

powershell set environment variable

# Windows PowerShell
PS C:\> $env:VAR_NAME="VALUE"
Posted by: Guest on May-26-2020
0

powershell add to env path

$env:Path = "SomeRandomPath";             (replaces existing path) 
$env:Path += ";SomeRandomPath"            (appends to existing path)
Posted by: Guest on July-09-2020

Code answers related to "how to add environment variable to app in powershell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language