Sunday, May 5, 2019

Get List of Files in Folder and Pipe to Excel

Get-ChildItem -Path C:\ETL\EXPORT_FILES |
Select-Object Name, FullName, Extension, CreationTime, Length |
Export-Excel -Now

No comments:

Post a Comment