A Simple PowerShell Windows du Implementation
I was looking for a quick and easy way to get directory and file size for a given directory and its sub-directories. I came across a nice post by Luis Diego Fallus and ended up using a commenter’s code to produce output in MB format. gci . | %{$f=$_; gci -r $_.FullName | measure-object -property length…
Read More A Simple PowerShell Windows du Implementation