title: How to retrieve recursively any files with a specific extensions in PowerShell?
body: <p>For a specific folder, I need to list all files with extension <code>.js</code> even if nested in subfolders at any level.</p>
  
  <p>The result for the output console should be a list of file names with no extension line by line to be easily copy and pasted in another application.</p>
  
  <p>At the moment I am trying this, but in output console I get several meta information and not a simple list.</p>
  
  <pre><code>Get-ChildItem -Path C:\xx\x-Recurse -File | sort length –Descending
  </code></pre>
  
  <p>Could you please provide me some hints?</p>