title: Run powershell script from within a powershell script
body: <p>I have a perl script perl1.pl.
  Within the perl script I call a powershell script script1.ps1.
  In script.ps1 I call other script like script2.ps1 with local variables as parameters.
  I have prepared a powershell script script3.ps1.
  I want to run script3.ps1 from script1.ps1 in parallel with script2.ps1.
  I need to pass same arguments(local variables as argument) that sample_script2.ps1 runs with.
  First script3 needs to be called then script2.</p>
  
  <p>I have tried powershel.exe like follows </p>
  
  <p>C:..\powershell.exe -FilePath script3.ps1 $a,$b,$c</p>
  
  <p>I have included bypass ,execution policy.$a $b $c are local variables.But what seems to happen is the command line opens(as it is the way our scripts are called) and starts executing script1.ps1 and when it comes to above mentioned command it stops.I type in "exit" in the above command line and then script2 starts.</p>
  
  <p>How can I achieve the same i.e parallel run of script3.ps1 with script2.ps1.</p>