title: In PowerShell, how do I set $HOME variable before running a script?
body: <p>I am new to Windows PowerShell. Basically, before running a script in command line, I would like to set the $HOME environment variable to a different directory. </p>
  
  <p>I don't really want to change the system $HOME variable that may affect other software. I just want this change to affect the script I am running  or just the shell I am using.</p>