title: How to update Windows PowerShell session environment variables from registry?
body: <p>This could be a simple question, but I couldn't find a proper answer.</p>
  
  <p>How do you update the environment variables from within a current Windows PowerShell session without closing the current one?</p>
  
  <p>Up to now, when I modify for example the <code>PATH</code> environment variable from <strong>Control Panel > System</strong>, I have to close current session and open a new one, so that variables are refreshed, or issue a <code>SetEnviromentVariable</code> which is cumbersome.</p>
  
  <p>I'm coming from the Linux world, so I'm looking for something like <code>source</code> command.</p>