title: How do I set an env variable in PowerShell if it doesn't exist?
body: <p>I'm surprised that I didn't get the answer for this common scenario after Googling for while...</p>
  
  <p>How can an environment variable in be set in PowerShell if it does not exist?</p>