The Surly Admin

Father, husband, IT Pro, cancer survivor

Get File Sizes by Extension

As I’ve mentioned before, I enjoy trolling the scripts at Spiceworks and converting the vbScripts that are interesting over to Powershell in an attempt to see if I can not only shorten them, but improve them.  One interesting example came by last week, the Get File Size for a Specific Extension script.  Here’s what I did with it.

Continue reading

Advertisements

November 10, 2012 Posted by | PowerShell | , , | 4 Comments