Continuing this answer from How can I list directories and their sizes in command prompt?
How to list directories recursively with size using PowerShell?
Continuing this answer from How can I list directories and their sizes in command prompt?
How to list directories recursively with size using PowerShell?
How to list directories recursively with size using PowerShell?
If it's really just a recursive list you need including the file size for each file then give ForFiles a shot using the syntax below which happens to work with PowerShell as well as command line, and it has a very similar output to the Unix du -h command as you indicate you need in a comment.
Output is similar to Unix du -h but you could format further if needed.
FORFILES /S /M * /C "CMD /C ECHO @FSIZE @PATH"