title: Windows user environment variable vs. system environment variable
body: <p>In Windows, is there any shell/PowerShell command to list user environment variable and system environment variable separately?</p>
  
  <p>If I do -</p>
  
  <pre><code>SET TEMP
  </code></pre>
  
  <p>Windows displays the user environment variable instead of system variable for <code>TEMP</code>.</p>
  
  <p>I am looking for a shell command/switch to display these variables separately.</p>