grep (options) files.txt. ... grep "text I search" *.log. ... Select-String -Path C:\temp\*.log -Pattern "Contoso" ... Get-ChildItem C:\temp -Filter *.log -Recurse | Select-String "Contoso"