The following PowerShell command will search the “C:\path” folder and all files within it (including sub-folders) for the string “find me”. It will print a list of the file paths where the string was found.
Get-ChildItem “C:\path” -recurse | Select-String -pattern “find me” | group path | select name
Try our troubleshooting service
- Microsoft Certified Engineers
- Remote Log-in to Your Servers
- End-to-End Troubleshooting
Our Certified Technicians have been supporting Microsoft® products for well over a decade.
Tell us where you are getting stuck
Having Trouble Implementing This Solution?
Why not let our Microsoft® Certified Engineers do it for you.
Just $50.00 one time fee.