title: How to start remotely process in PowerShell
body: <p>I have a problem, I have a <em>script</em> which:</p>
  
  <ul>
  <li>Connect with PSSession (I use <code>PSSession</code> with admin account)</li>
  <li>Stop 2 process</li>
  <li>Do change on them files</li>
  <li>Start the 2 process (Problem here)</li>
  </ul>
  
  <p>I want to start process on server, so i'm connect with PSSession (No problem)</p>
  
  <p>I do Invoke-Command :</p>
  
  <pre><code># $pathProg path to my program
  Invoke-Command -session $mySession -command {Start-Process $($args[0])} -ArgumentList $pathProg
  </code></pre>
  
  <p>But it does nothing (I verify with VNC)</p>
  
  <p>I do Invoke-Command too :</p>
  
  <pre><code># $pathProg path to my program
  Invoke-Command -session $mySession -command {&amp;$($args[0])} -ArgumentList $pathProg
  </code></pre>
  
  <p>It lauch the program (Good) but my script wait the end program (Not good)</p>
  
  <p>Anyone have an idea ?</p>
  
  <p>Thanks</p>