May 23, 2011 at 10:48 pm
Comments posted to this topic are about the item Parsing Log Files and Summarizing Results with PowerShell
May 24, 2011 at 2:03 am
Hi Tim yes powershell is great for these type of tasks , I use it all the time on SCCM, Servers and workstations etc and I am learning to use it on SQL , but it can be a bit slow on network connections, get-childitem is good for local disk, but there is something much better "LogParser" from Microsoft, a nifty little tool for - as the name suggest parsing log files. I have made a link in my $profile so I can use it from the powershell console. check this out - getting the sccm-client logs across the network.
logparser -o:datagrid -i:TEXTLINE "select * from \\xxx-xxx-xxx\c$\windows\system32\ccm\logs\*.log where text like '%oracle%'".
there's a few references of it in the powershell blogs.
cheers Dene
May 24, 2011 at 2:31 pm
Thanks for the suggestion, I will definitely have to take a look at "LogParser" from Microsoft.
Tim P.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy