Note that this does not support long paths, because despite being new enough,
PowerShell still doesn't support them.

gci -recurse -force | select creationtime,lastwritetime,attributes,fullname | export-csv -path c:\temp\out.csv


gci: alias for Get-ChildItem (powershell "ls")

-force: powershell for "ls -a", i.e. "force" means "show all including hidden"

select...: select only these fields. for a full field listing, do:
	gci | get-member
	gci | export-csv -path c:\temp\out.csv
	and look at the output

export-csv: self-explanatory