Searching log files the easy way
Want to search through, say, a directory full of log files for a specific message? PowerShell to the rescue! PS C:\> get-item *.log | Select-String -Pattern “Race Condition” 12-19-2017 02.44.02 PM.log:93413:SIP/2.0 200 Race Condition Subfolders too: PS C:\> Get-ChildItem c:\<Path>\*.log -Recurse | Select-String -Pattern “Race Condition” Ongoing Support\20171011-SIP503s\Logs-20171219\12-19-2017 02.44.02 PM.log:93413:SIP/2.0 200 Race Condition