setting path variable in windows 10 powershell code example Example: how to get environment variables in powershell #Windows Powershell cd Env: Get-ChildItem