Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set environmental variables for one command powershell

$env:FOO='BAR'; .myscript; $env:FOO=''
$env:FOO='BAR'; .myscript; Remove-Item Env:FOO
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #environmental #variables #command #powershell
ADD COMMENT
Topic
Name
6+6 =