title: remote execution(PowerShell) of cmd file doesn't complete
body: <p><em>Current PS script:</em></p>
  
  <pre><code>Invoke-Command -ComputerName RemoteServer007.FQDN.com -ScriptBlock { 
      Set-Variable -Name WOWCONFIG -value "d:\ABCs\WOWzers" `
      | Start-Process "d:\da-folder\Do-It-NOW-Pleez.cmd" 
  }
  </code></pre>
  
  <p>If I log on locally to the server(RemoteServer007.FQDN.com) and execute the cmd file, it runs through all of the lines(commands) within the cmd file.</p>
  
  <p>When I execute it remotely, it gets about 30% of the way through the commands within the cmd file, the PS execution ends without error, but not all of the lines/commands in the cmd file had been executed.</p>
  
  <p>This was discovered by simply configuring each line of the cmd file to output to txt files.
  I even tried re-ranging the commands in the cmd file, thinking that perhaps there was a specific command that was causing it to exit, but that is not the case.</p>
  
  <p>I'm wondering if there is some timeout or response that PowerShell is not getting?  and just quitting almost immediately after starting?</p>
  
  <p>Any ideas or help would be greatly appreciated.</p>