Extracting to a CSV the list of files in folders Extracting to a CSV the list of files in folders
Joel Plaut

Joel Plaut

October 13, 2014

All Post
Extracting-to
Share:

It’s easy to extract the set of files in all folders, here’s how using PowerShell:

$Files = Get-ChildItem "C:ChooseAnyFolder" -Recurse
$files  | select name | convertto-csv -notypeinformation | out-file "C:tempreportFile.csv";

Feel free to select your choice of fields within the Pipeline.

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to talk?

Drop us a line. We are here to answer your questions 24*7.