powershell environment variables get first code example Example: powershell print environment variables #pws $Env:path Get-ChildItem env