Scripting Blog [archived]

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

Use PowerShell and Regular Expressions to Parse Handle Output

Summary: Windows PowerShell superhero BATCHman uses regular expressions to parse output from handle.   Microsoft Scripting Guy Ed Wilson here. Today we have Episode 10 of the BATCHman series.  (image) Whenever trouble happens in systems and people will call, and darkness rolls out causing your fall, Creatures of bits roam in the ...

Use Regular Expression Pattern when Parsing PowerShell Script

Summary: Part three in the series about replacing Windows PowerShell aliases with full cmdlet names uses a regular expression pattern and the tokenizer. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. With the final scripts uploaded for the 2011 Scripting Games, the judges are hard at work finishing the grading in preparation for...

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