title: Run JAR file with PSExec and CMD
body: <p>I need to run a jar file on a remote machine. The jar takes several arguments.</p>
  
  <pre><code>psexec \\somemachine -i  /accepteula -i -u domain\user -p password  cmd /S "c:\mydir\myjar.jar" [my jar args here]
  </code></pre>
  
  <p>Can someone tell me how to do this? The closest I have gotten is getting CMD to launch but with not command.</p>