Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Refresh-Path {
- $global:env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")
- Write-Output "PATH refreshed."
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement