Windows : How to list files recursively with size and last access date? Windows : How to list files recursively with size and last access date? powershell powershell

Windows : How to list files recursively with size and last access date?


try this:

get-childitem D:\temp -rec | where {!$_.PSIsContainer} |select-object FullName, LastWriteTime, Length | export-csv -notypeinformation -delimiter '|' -path file.csv