title: Batch file v PowerShell script
body: <p>Is there any advantage to using a PowerShell script over a batch file?</p>
  
  <p>By which I mean, if I have something which will run in either, is there anything to warrant detecting if PowerShell is installed and using it over a batch file if it is?</p>
  
  <p><code>SCHTASKS</code> works in exactly the same manner on both.  Given that, is there any differentiator between them?</p>