Scripting Blog [archived]

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

Scripting Wife Uses Regular Expressions to Match a String

Summary: On the road to the 2011 Scripting Games, the Scripting Wife learns about regular expressions and string matching. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. The Scripting Wife and I decided to head to Hilton Head Island (no relation to Paris Hilton; and therefore, no teacup Chihuahuas around) for the weekend. One of ...

Scripting Wife Uses PowerShell to Get Days Until NCAA Final Four

Summary: The Scripting Wife learns how to use Windows PowerShell to determine the number of days until the NCAA championship game. Microsoft Scripting Guy, Ed Wilson, here. It has been an extremely exciting week. I finished writing all of the Windows PowerShell 2011 Scripting Games events, and I emailed them to the guest commentators. In ...

Change Drive Letters and Labels via a Simple PowerShell Command

Summary: Microsoft Scripting Guy, Ed Wilson, shows you how to change drive letters and labels with a simple Windows PowerShell command. (image) Hey, Scripting Guy! First of all, I want to thank you for being cool and for all the neat things you do with the Windows PowerShell community. Second of all, I was reading your blog last week where ...

Get All Methods and Writable Properties from All WMI Classes

Summary: Use Windows PowerShell to gather all implemented methods and writable properties from all WMI namespaces. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. It is quiet around here on the weekends. At times, it is extremely quiet. I decided to use the time to make some serious changes to my WMI method and property discovery ...