How to print environment variables to the console in PowerShell?
https://stackoverflow.com/questions/50861082/how-to-print-environment-variables-to-the-console-in-powershell
WEBJun 14, 2018 · In the case of listing all Environment Variables, to concise the commands, you can use dir, ls, and gci (an acronym for Get-ChildItem) as they are three aliases of Get-ChildItem. So, all of the following commands are equal and can be used in this context: Get-ChildItem Env: or. dir Env: or. ls Env: or. gci Env: More information in shellgeek.
DA: 23 PA: 68 MOZ Rank: 81