This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Find String in any File in Folder with PowerShell

We had a scenario where we had to find errors in the config files.  We knew exactly what the errored string was, but there were 138 config files to verify in the folder structure.  One line of code and 5 minutes later...we had all the files that contained the incorrect URi.

I heart powershell.

See Also

PowerShell Event Logger

Zipping Files With Powershell

Simple text logger for Powershell

Check Multiple Nodes for a Running Service, Then Show up or Down based on the number of Servers Running the Service

FindStringInFolder.ps1