Jun 062012

Checking Size of Downloads-Folder with Powershell

Whenever you download something with IE, by default the files get stored in your personal download folder. Often, over time a lot of garbage can accumulate. This line tells you just how much data you store in this folder:


-Path$folder-Recurse-Force-ea 0 |
ForEach-Object {
$sum=$_.Sum/ 1MB
“Your Downloads folder
wastes {0:#,##0.0} MB storage”


You may be surprised just how much stuff has been collected there.

Leave a Reply