environment variables powershell storein a list code example
Example 1: powershell print environment variables
#pws
$Env:path
Get-ChildItem env
Example 2: how to get environment variables in powershell
#Windows Powershell
cd Env:
Get-ChildItem
#pws
$Env:path
Get-ChildItem env
#Windows Powershell
cd Env:
Get-ChildItem