title: How to execute executable which added to PATH from powershell?
body: <p>I'm having problems execute the filename.exe (the name is not relevant) from Windows Powershell. The filename.exe can be executed from the cmd easily, because the file's path is added to the PATH environment variable.
  So I can execute the filename.exe like this from command line:</p>
  
  <pre><code>filename arg1 arg2
  </code></pre>
  
  <p>I have no idea how to do so in the Powershell.</p>
  
  <p><strong>Edit:</strong>
  I've tried the same way but no success. I got the following message</p>
  
  <pre><code>    PS D:\&gt; filename
  filename : The term 'filename' 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 line:1 char:1
  + filename
  + ~~~~~~
      + CategoryInfo          : ObjectNotFound: (filename:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>