Refreshing environment variables

without restarting in PowerShell

Whenever you add a folder to the PATH environment variable, you need to restart your shell environment to gain access to it.

Or do you?


By typing refreshenv, you could force PowerShell to get the latest environment variables, and continue your work!