title: Run bat file and ps1 file simultaneously
body: <p>I've created two separate scripts that I need to run simultaneously and nothing seems to work. I need the first script to turn the execution policy to unrestricted &amp; run a bat file that brings up an uninstallation program &amp; run a ps1 script that inputs keys into that uninstallation program.</p>
  <p>This is a many step process to eventually get to a point where i can run this script remotely on the domain. That being said, I have it located in a shared drive because i want to eventually be able to run it remotely. I've tried using <code>copy-item</code> to various file paths on the local computer but its all the same.</p>
  <p>The script hangs after running the uninstallation program. I need the bat file to continue on with the rest of the script and not wait for the uninstallation program to finish. Here's what I got so far:</p>
  <p>I appreciate any help!</p>
  <pre><code>@echo off
  
  powershell.exe -command set-executionpolicy -executionpolicy unrestricted &amp;
  
  &quot;\\shared drive file path\uninstall.bat&quot; &amp;
  
  powershell.exe -command &quot;\\shared drive file path\uninstall.ps1&quot;
  </code></pre>