title: Powershell fastest directory list
body: <p>Anyone know a fast way to do a recursive directory listing? I am trying to go through a SAN of about 10tb and "get-childitem -include" takes days to run... I know there will be no way to bring it down to minutes but perhaps some way to cut the time to a few hours would be great. I only need a list i can sort through don't need the file properties as I will be using this to find certain types of files on our SAN such as PST files.</p>
  
  <p>If anyone could point me in the direction on how to use the compiled code from <a href="http://www.leporelo.eu/blog.aspx?id=powershell-performance-comparison-compiled-code-cmdlet-or-net-call" rel="nofollow">HERE</a> I should be good too.</p>