Move to the root of the desired directory and
run the command below
Get-ChildItem .\* -include ('*.config') -recurse | Select-String -pattern "find_for_this_string"
Searching for find_for_this_string
Include files of this type *.config (ex. web.config files)