20. Environment Variables


The below information is extensively based in information taken from the PowerShell® Notes for Professionals book. I plan to extend this information based on my day to day usage of the language.

20.1: Windows environment variables are visible as a PS drive called Env:

You can see list with all environment variables with: Get-Childitem env:

20.2: Instant call of Environment Variables with $env: