Need to set an environment variable in PowerShell? Follow these easy steps:
1. Open PowerShell:
Win + X, then select Windows PowerShell.
2. Set the Environment Variable:
$env:VariableName = "Value" and press Enter.
3. Verify the Variable:
echo $env:VariableName to confirm it's set.
Jorge García
Fullstack developer