Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

.log file to richtextbox

$
0
0

Hello,

i'm searching for the best way to show a microsoft .log file to a richtextbox. if u just do a get-content, i have somthing like that in richtextbox :

 

<![LOG[Raised Program Started Event for Ad:K24532, Package:K002555, Program: InstallationQuiet]LOG]!><time="16:46:29.976-120" date="07-29-2014" component="execmgr" context="" type="1" thread="3576" file="executioncontext.cpp:459">

 

first think is to use a regex to get all groups and show them without <![Log ..

but do you think there is a better way ? faster ? ..

my goal is to show something similar to SMS Trace.

 

thx for the help

Chris

 


Viewing all articles
Browse latest Browse all 8583

Trending Articles