title: Terminate PowerShell process after script executing
body: <p>I have a TFS Build where I run PowerShell script. The problem is PowerShell.exe never stops after runnig and do nothing.
  Script is signed by trusted sertificate and successfully runs on my BuildAgent from PowerShell and writes logs. But it don't to anything from build or from cmd.exe. PowerShell.exe just starts and do nothing.</p>
  
  <p>P.S. PS script have Exit commands but it not help.</p>
  
  <p>Thanks,
  Roman</p>