Scripting Blog

A place to learn about PowerShell and share stories of automation

Inventory Drive Types by Using PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect drive types.  Hey, Scripting Guy! We have a number of workstations in our network. Many of the users bring USB keys from home to transfer their files. Others have large external USB drives attached to their machines, and others have portable CD/DVD...

Use PowerShell to Initialize Raw Disks and to Partition and Format Volumes

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to initialize raw disks and to partition and format volumes. Microsoft Scripting Guy, Ed Wilson, is here. In yesterday’s post, Use PowerShell to Add VHDs and Configure New Virtual Machines, I was able to create and add new VHDs to previously existing ...

Weekend Scripter: The Scripting Wife Talks About the First Warm-Up Event in the Winter Scripting Games

Summary: The Scripting Wife talks about the first event in the 2013 Winter Scripting Games warm-up events. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a special guest. You guessed it: The Scripting Wife is with us today. If you are reading the Hey, Scripting Guy! Blog for the first time, Welcome. Let me give you a little ...

Use PowerShell to Find the History of USB Flash Drive Usage

Summary: Microsoft premier field engineer, Jason Walker, shows how to use Windows PowerShell to get a history of USB drive usage. Microsoft Scripting Guy, Ed Wilson, is here. I was talking to Jason Walker at the Charlotte Windows PowerShell User Group the other day. I asked him what cool things he was doing with Windows PowerShell, and he ...

Use PowerShell to Determine Fragmentation of Your Drive

Summary: Learn how to use Windows PowerShell to determine the amount of fragmentation of your hard disk drives.   Hey, Scripting Guy! One of the things that annoys me is that the “new” defragmenter program in Windows 7 does not return any information. I guess from a user standpoint, it is OK—and it runs as a service, ...

Feedback usabilla icon