title: PowerShell script to select some files in a directory
body: <p>Right now I have a script that will get the last five files in a directory. It looks like this:</p>
  
  <pre><code>$diffs = Get-ChildItem "C:\usr\local\work\tnl\Database\ReleaseScripts" -Filter "*.sql" | Sort-Object Name -Descending | Select-Object -first 5 | Sort-Object Name
  </code></pre>
  
  <p>I need to have it select all of the last files starting with a certain one. For example, if the files were named </p>
  
  <p>201.txt <br/>
  202.txt <br/> 
  203.txt <br/>
  204.txt <br/> 
  up to  <br/>
  210.txt</p>
  
  <p>I might need to select all the files starting with 203.txt to the end of the list.</p>
  
  <p>I could get the file name of the one I'm looking for and use that in the script. I'm just not familiar with what scripting tools I have to do that. Is there a way to edit my line to get it to do that in just one line, or will I have to put it in a loop to get my results?</p>