If you want to print the value of an environment variable, you can use the $env:variable_name
syntax.
1$env:MY_VARIABLE
Replace MY_VARIABLE
with the name of the environment variable you want to print.
If you want to print the value of an environment variable, you can use the $env:variable_name
syntax.
1$env:MY_VARIABLE
Replace MY_VARIABLE
with the name of the environment variable you want to print.
This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub
Written byEdson Frainlar Follow @FrainlarEdson
Mission-driven Full-stack Developer with a passion for developing KTern, Dev Collaboration, and teaching. Curious to explore Quantum Information and Computing.
Connect