title: Azure Webjobs - Specify which file in the ZIP to run
body: <p>I'm moving from hosting instances of my app from multiple VMs, to multiple WebApps in Azure.  I also have a batch tool that I run at various times on schedules to do different jobs.  The particular job it does is controlled by a command line parameter, which is easy to do using Windows Task Scheduling.</p>
  
  <p>There doesn't seem to be a way to specify parameters when running a WebJob, but I did find the following SO article that suggests using a Powershell script containing the parameters:</p>
  
  <p><a href="https://stackoverflow.com/questions/24865828/command-line-arguments-to-azure-webjobs">Command Line Arguments to Azure Webjobs</a></p>
  
  <p>Excellent solution that would solve my problem. However, when uploading a zip containing my app, associated dlls and a powershell file as a WebJob, there doesn't seem to be a way to specify that I want the powershell file to be used as the WebJob, and the exe is used instead.</p>