Scripting Blog [archived]

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

Scripting Wife Uses PowerShell to Create Files Automatically

Summary: The Scripting Wife learns how to use Windows PowerShell to automatically create files with the date stored in them. The room seems quiet now. I take a deep breath, let it out slowly, and begin to relax. My name is Ed Wilson. I am the Microsoft Scripting Guy. I have just completed the second in a series of five Live Meetings during ...

Learn How to Use Switch, Regex, and PowerShell to Parse Files

Summary: The Scripting Wife learns how to use the Windows PowerShell switch command and regular expressions to parse text files. Microsoft Scripting Guy, Ed Wilson, is here. The Script Week Live Meetings have been great fun, and the feedback has been incredible. The registration for the 2011 Scripting Games is going well, and it is hard to ...

Reading and Searching Text from a Group of Files with Regex

Summary: The Scripting Wife dives into the mysteries of using regular expressions to read and search a group of files in PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. I had a great trip to Seattle, Washington to teach a Windows PowerShell class to a group of Microsoft network engineers. They had some particular requirements for ...

Use PowerShell to Search a Group of Files for Phone Numbers

Summary: Scripting Wife learns how to use Windows PowerShell to easily search a collection of files for phone numbers. Spring has nearly sprung in Charlotte, North Carolina. The weather seems to alternate between absolutely perfect to a little cool with rain. Today, at least so far this morning, it is quite pleasant. I am sitting on the back ...