We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Hi,
I'm using the following code in from time to time to refresh Environment/Path variables without restarting the OS/Shell:
$env:Path = [Environment]::GetEnvironmentVariable('Path','Machine')
I think this has proper use cases in software installs and so on.