I’m starting to use PowerShell and am trying to figure out how to echo a system environment variable to the console to read it.

Neither of the below are working. The first just prints %PATH%, and the second prints nothing.

echo %PATH%
echo $PATH

4 Answers
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *