How to search a specific string recursively and return the names of files in Powershell?

You can use PowerShell cmdlet Get-ChildItem with Select-String cmdlet to find any specific string recursively and output the file names with path containing that string. Here is a quick example –