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 ...

Learn How to Create Custom Column Heads for PowerShell Out-GridView

Summary: The Scripting Wife learns how to create custom column headings for the Windows PowerShell Out-GridView cmdlet. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. It is a typical weekend for me. I am up early, sipping a cup of English Breakfast tea, and watching a pot of Irish steel-cut oats simmer on the stove. I am glancing ...

Sort Output Before Sending to PowerShell Out-GridView

Summary: Learn how to sort data before you send it to the Windows PowerShell Out-GridView cmdlet. Microsoft Scripting Guy, Ed Wilson here. The weekend has finally arrived, following on the heels of a rather hectic week. I decided to download and install Service Pack 1 for Windows 7 and Windows Server 2008 R2. It installed on the Scripting Wife...