title: Executing .bat files from Powershell via Ansible
body: <p>I am using Ansible to execute a Powershell script on several Windows hosts. In the Powershell script, I am using <code>Start-Process -FilePath "cmd.exe" -ArgumentList "C:\Path\to\some\bat\file.bat"</code></p>
  
  <p>The bat files are several programs that run indefinitely.</p>
  
  <p>The issue I'm having is that when I run the Powershell script manually, everything works. The bat files are executed and done. When I execute the file via Ansible, the bat files are not executed. No errors reported that I could find.</p>
  
  <p>Any idea how I can get these two bat files up and running via Ansible?</p>
  
  <p>Thanks.</p>