title: How to open Visual Studio Code through PowerShell and close PowerShell right after starting VSCode?
body: <p>I would like to open Visual Studio Code for a specific folder, the command works I try to run, but when the script opens VSCode, it doesn't close the PowerShell window. I would like to close the PowerShell window right after the Script opens the VSCode. But even an explicit exit call does not work:</p>
  
  <pre><code>ii F:\c#
  iex "&amp; code ."
  exit
  </code></pre>
  
  <p>This opens VSCode, but the Shell Window stays open until I close VSCode.</p>