The solution is to use the Select-String cmdlet. In fact, it was a topic that was tested in the Beginner Event 6 in the 2011 Scripting Games. Luckily, SH, the answer to your question is no, you do not have to write a script to parse a folder full of files for a particular string. It feels like this week started late and will end early. The meeting will be available via Live Meeting. Oh, by the way, I am doing a meeting today with Lincoln SQL Server User Group (ssug). If you will be in South Texas on August 9, 2011, you should come check it out. In addition, we will be appearing at the inaugural meeting of the Corpus Christi PowerShell User Group meeting. The Scripting Wife and I are trying to get things sorted out this week before we leave for Corpus Christi, Texas, where I will be teaching a Windows PowerShell class. I hate to have to write a script for such a common task, but I am afraid I will have to do so. ![]() ![]() Hey, Scripting Guy! I need to be able to parse multiple files for text that are in a single folder. ![]() Summary: Learn how to use a Windows PowerShell command to search easily for information in a collection of files.
0 Comments
Leave a Reply. |