Scripting Blog

A place to learn about PowerShell and share stories of automation

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

Use PowerShell to Look for Phone Numbers in Text

Summary: The Scripting Wife learns how to use a regular expression pattern to look for phone numbers in text files.Microsoft Scripting Guy, Ed Wilson, here. I am looking over some of the slide decks from the Columbia, South Carolina SQL Saturday #70 event. There were a couple of really good Windows PowerShell sessions during the day (...

Scripting Wife Uses PowerShell to Get Lines from a File

Summary: The Scripting Wife learns how to use Windows PowerShell to get specific lines from a text file.Microsoft Scripting Guy, Ed Wilson, here. As the Windows PowerShell 2011 Scripting Games edge forward in the conscious minds of intrepid scripters from around the world, the event continues to grow in size, complexity, and importance in my ...

Use PowerShell to Replace Text in Strings

Summary: The Scripting Wife learns how to use Windows PowerShell and regular expressions to replace text in strings.Microsoft Scripting Guy, Ed Wilson, here. I just finished a meeting with the Microsoft TechEd people about doing a series of five Live Meetings next week (beginning on March 28) about Windows PowerShell for the Road to TechEd. ...