title: Call a BAT in an elevated window and changing ENV variables before
body: <p>In a PowerShell script, I have to call a batch file in an elevated window. 
  So I do</p>
  
  <pre><code>Start-Process my.bat -Verb runas
  </code></pre>
  
  <p>Now, <code>my.bat</code> expects to have some of the ENV variables I set on the original window.
  However, since the elevated window is executed as admin, those variables I set as a regular user don't appear to be set on the admin window. </p>
  
  <p>Is there a way to set ENV vars in an admin window prior to calling <code>my.bat</code>?</p>