PowerShell
Export Files List (PowerShell) into Excel

Export Files List (PowerShell) into Excel

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

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

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments