title: bash script into windows 10 powershell version
body: <p>My Python2.7 and pypy(using virtualenv) are all under windows 10 environment. From a README file in simulation software, below includes a 'for loop" script in Bash command. How would I convert below 'for loop" (three lines) Bash commands into equivalent Windows 10 Powershell commands? </p>
  
  <p>"It's better to run several processes in parallel, for instance:</p>
  
  <pre><code>$ for i in {1..10}; do
  $ time $pypy epto.py conf_epto/ $i &gt; conf_epto/run-$i.log $
  $ done
  </code></pre>
  
  <ul>
  <li>And then to obtain stats for all runs:</li>
  </ul>
  
  <pre><code>
      $pypy genStats.py conf_epto 10
  
  </code></pre>
  
  <ul>
  <li>This will output the stats to stdout and also generate dumps in gnuplot format."</li>
  </ul>
  
  <p>I tried to run Powershell commands but face error:</p>
  
  <pre><code>(my-pypy-env) PS C:\Users\Acer\dev\pypy27home\my-pypy-env\SimpleDA-master&gt; for ( $i = 1; $i -le 10; $i++) {
  &gt;&gt; $pypy epto.py conf_epto/ $i &gt; conf_epto/run-$i.log $
  &gt;&gt; done}
  At line:2 char:7
  + $pypy epto.py conf_epto/ $i &gt; conf_epto/run-$i.log $
  +       ~~~~~~~
  Unexpected token 'epto.py' in expression or statement.
      + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
      + FullyQualifiedErrorId : UnexpectedToken
  </code></pre>