title: Azure Functions execution error
body: <p>I'm new to Azure Functions, I've created azure function named "myfunction", which contains<br>
  1) console app (.exe)<br>
  Code: </p>
  
  <pre><code>console.writeline("Hello World!");
  </code></pre>
  
  <p>2) run.ps1 (Powershell)<br>
  code : </p>
  
  <pre><code>.\&lt;consoleappname&gt;.exe
  </code></pre>
  
  <p>3) function.json<br>
  code : </p>
  
  <pre><code>{
    "bindings": [
      {
        "type": "timerTrigger",
        "direction": "in",
        "schedule": "*/15 * * * * *",
        "runOnStartup": false
      }
    ]
  }
  </code></pre>
  
  <p>When I run this function, it throws an error as below:</p>
  
  <pre><code>Error:
               
  Function ($nmfunction) Error: The binding name  is invalid. Please assign a valid name to the binding. 
               
  Session Id: 3366132a28a043bab13f1cfa28781c9b
               
  Timestamp: 2017-04-19T14:14:03.962Z
  </code></pre>
  
  <p>when I add <code>"name":"nmfunction"</code> to the json binding, it don't throw any error in UI, but still don't run the console app, and throws error in log,</p>
  
  <pre><code>2017-04-19T14:20:25.618 Function started (Id=9bc53d11-1189-43c1-9497-4438713025fa)
  2017-04-19T14:20:26.009 .\ConsoleApp1.exe : The term '.\ConsoleApp1.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  at run.ps1: line 1
  + .\ConsoleApp1.exe
  + _________________
      + CategoryInfo          : ObjectNotFound: (.\ConsoleApp1.exe:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  2017-04-19T14:20:26.009 Function completed (Failure, Id=9bc53d11-1189-43c1-9497-4438713025fa, Duration=389ms)
  2017-04-19T14:20:26.024 Exception while executing function: Functions.nmfunction. Microsoft.Azure.WebJobs.Script: PowerShell script error. System.Management.Automation: The term '.\ConsoleApp1.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  </code></pre>