powershell for each check the name of the file contains string code example
Example: find string in all files powershell
Get-ChildItem -Recurse | Select-String "dummy" -List | Select Path
Get-ChildItem -Recurse | Select-String "dummy" -List | Select Path