Created
June 19, 2020 12:55
-
-
Save valtoni/c61b16163bf106bf2d06cdea9e2de77b to your computer and use it in GitHub Desktop.
Set path environment on windows powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add path permanently to environment machine | |
| [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\bin", "Machine") | |
| # Add path permanently to environment user | |
| [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\bin", "User") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment