title: Not returning to cmd prompt after executing powershell command from cmd via psexec
body: <p>I want to change the execution policy of a remote computer. After the command, the policy gets changed but control is not passed to cmd prompt.
  the command i used:</p>
  
  <pre><code>C:\amp&gt;psexec \\networkcomputer -u user -p password powershell Set-ExecutionPolicy RemoteSigned
  </code></pre>
  
  <p>In the cmd window it shows</p>
  
  <pre><code>C:\amp&gt;psexec \\networkcomputer -u user -p password powershell Set-ExecutionPolicy RemoteSigned
  
  PsExec v2.1 - Execute processes remotely
  Copyright (C) 2001-2013 Mark Russinovich
  Sysinternals - www.sysinternals.com
  </code></pre>
  
  <p>How to get out of it</p>