more on searching text files with powershell

more on searching text files with powershell

September 26, 2019

The powershell script discussed in last night's Tip can be modified to search for multiple strings, and specify whether or not your search should be case sensitive: 

 

Select-String -Path C:\FooFolder\txt\*.txt -pattern Art,Beauty,Law -CaseSensitive

 

Simply separate the strings to search for with commas, and then enter the condition, -CaseSensitive at the end. 

 

 

 

 

 

Please reload

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com