Shell/Bash: powershell set environment variable Example

By

Shell/Bash Example: This is the "powershell set environment variable" Example. compiled from many sources on the internet by SimpleTutorials.org

powershell set environment variable

# Windows PowerShell
PS C:\> $env:VAR_NAME="VALUE"

powershell print environment variables

#pws
$Env:path
Get-ChildItem env

how to get environment variables in powershell

#Windows Powershell
cd Env:
Get-ChildItem

powershell environment variables set

$Env: = ""



* Summary: This "powershell set environment variable" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others