Powershell function that recursively returns directory sizes.
DirSize.ps1 -Path "C:\path_to_analyze" [-Detailed] [-Mb]
-Detailed recursively returns all sub directories.
-Mb returns filesizes in Mb instead of Gb
.Net 5 C# Console application that recursively returns directory sizes.
DirSize [drive:][path] [/v] [/mb]
/v Verbose. Recursive breakdown of each directory.
/mb Returns results in megabytes.
/? Returns the man file.
- 2021/10/20:
- Added console application.
- 2021/10/17:
- Project creation / initial checkin.
- Added optional -Mb parameter that will force the script to return filesizes in Mb instead of Gb.