title: Invoke-Command with script block is not working on remote machine with no error
body: <p>I am trying to call a batch file located in local machine executing the below PowerShell command from remote computer.</p>
  
  <pre><code>Invoke-Command -ComputerName XXXXXX -ScriptBlock {
    Start-Process "c:\installagent.bat"
  } -Credential abc\XXX
  </code></pre>
  
  <p>It's not giving any error but nothing happened on the remote computer.</p>
  
  <p>If I run the batch file from local machine, it's working fine.</p>