SMSMS

Posts Tagged ‘log file’

Quick Search in Log Files using PowerShell

If you need to read through large log files and search for specific keywords, there’s no need to write complex scripts but a simple three liner inside PowerShell can do all the work for you! The sample PowerShell code below, allows you to search through text files such as, log files in Windows 7 systems and outputs every line where a match of the given keyword is found.

Read more…

Share

Be the first to comment - What do you think?  Posted by George - July 24, 2012 at 5:52 am

Categories: Management   Tags: , , , , ,