Scripting Blog [archived]

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

Use the PowerShell Grep Command to Parse the Command Line

Summary: In this article, Microsoft Scripting Guy Ed Wilson teaches how to use the Windows PowerShell version of grep to parse the command line.   (image) Hey, Scripting Guy! I have enjoyed reading Sean’s legacy scripting articles, but I am a bit confused. It seems that all these commands return data, and I would love to be able to ...