Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 2.7 KB

File metadata and controls

57 lines (48 loc) · 2.7 KB

DirSize

Contributors Forks Stargazers Issues MIT License LinkedIn Twitter GitHub

Powershell function that recursively returns directory sizes.

Usage

DirSize.ps1 -Path "C:\path_to_analyze" [-Detailed] [-Mb]

-Detailed recursively returns all sub directories.

-Mb returns filesizes in Mb instead of Gb

DirSize.Console

.Net 5 C# Console application that recursively returns directory sizes.

Usage

DirSize [drive:][path] [/v] [/mb]

/v Verbose. Recursive breakdown of each directory.

/mb Returns results in megabytes.

/? Returns the man file.

Change Log

  • 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.

Notes