Last active
September 24, 2015 07:16
-
-
Save oledid/2b3d003a520d2b481c4a to your computer and use it in GitHub Desktop.
PowerShell: Refresh process PATH from machine and user PATHs
This file contains 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
# place this script in a place which will always be in the PATH | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment