Export Files List (PowerShell) into Excel

Export Files List (PowerShell) into Excel

You are here:
Table of contents

Sometimes it is useful to get the files list of a folder into an Excel Sheet.

This is very simple to realize thanks to Powershell.

You just need to import a module and enter the following:

Install-Module -Name ImportExcel
(Get-ChildItem C:\FolderName -file).BaseName | Export-excel folderlist.xlsx

Of course, you can name your file how you want 🙂

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.