Search
Get-ChildItem -Path c:\path\*.* -recurse | Select-String -pattern "xxx"
Concatenate all the text files.
Get-Content c:\dev\*.txt | Out-File -FilePath c:\dev\output.txt2 -Encoding ASCII -Append
Search
Get-ChildItem -Path c:\path\*.* -recurse | Select-String -pattern "xxx"
Concatenate all the text files.
Get-Content c:\dev\*.txt | Out-File -FilePath c:\dev\output.txt2 -Encoding ASCII -Append