Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Determine Size of Folder with PowerShell

Summary: Use Windows PowerShell to determine the size of a folder. (image)  How can I use Windows PowerShell to easily get the size of a folder structure? (image)  Use a combination of Get-Childitem and Measure-Object. For example, to see the size of the C:\Foo folder            ...

Build a Better Copy-Item Cmdlet

Summary: Sean Kearney investigates how to navigate file system content. Honorary Scripting Guy, Sean Kearney, is here with an early holiday gift—a way to deal with copying many files and getting some kind of progress on the update. I ran into this problem when I was duplicating file structures onto USB keys for Windows to Go a few ...

Build a Better Copy-Item Cmdlet

Summary: Sean Kearney investigates how to navigate file system content.Honorary Scripting Guy, Sean Kearney, is here with an early holiday gift—a way to deal with copying many files and getting some kind of progress on the update.I ran into this problem when I was duplicating file structures onto USB keys for Windows to Go a few months ...