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.