Export Files List (PowerShell) into Excel

Du bist hier:
< Zurück

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 🙂