title: Automatically close command line window after executing an .ps1 File via batch
body: <p>I want to automatically close command line window after executing an .ps1 File via batch. (The batch works, but the windows is not closing/disappering after execution)</p>
  
  <p>Here´s the batch:</p>
  
  <pre><code>cd C:\
  powershell.exe -noexit "&amp; C:\Users\user1\Desktop\Test.ps1"
  exit
  </code></pre>
  
  <p>What do I have to change or add?</p>