
In the command, make sure to update the path and name of the output file.įor example, this command saves the output to the Desktop folder: Once you complete the steps, the command will create a csv file containing a lot of information about the contents inside the folder, including name of files, path, dates, and more, which you can then view and edit using Excel. To create an Excel file containing files information from a folder with PowerShell, use these steps: How to export list of files to csv on Windows 10 #

In this guide, you’ll learn the steps to use a PowerShell command to create an inventory of the content of a folder on Windows 10.


However, you can also use a PowerShell command to speed the process to a few seconds. You could perform this task manually, but it could take a long time.
