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

Use PowerShell to Detect if a Workstation Is in Use

Summary: Learn how to use Windows PowerShell to detect if a workstation is in use prior to performing a reboot (image)   Hey, Scripting Guy! I have a problem in that I need to detect when a user is logged on to a system so that I can patch it and reboot the machine without disrupting the individual. Can this be done very easily? —...