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