Get-ChildItem -recurse | Select-String -pattern "blah blah" | Select-Object path ,line,linenumber,filename | Export-Csv -Path C:\Garbage\search-logs.csv -NoTypeInformation
Advertisements
Posted by Brajesh Panda on November 28, 2017
Get-ChildItem -recurse | Select-String -pattern "blah blah" | Select-Object path ,line,linenumber,filename | Export-Csv -Path C:\Garbage\search-logs.csv -NoTypeInformation
Posted in Mix & Match | Leave a Comment »