Dynamically process Wireshark output with Powershell

I have started to use Wireshark to monitor some network traffic, I can configure the settings to get exactly the data I want but want to dynamically (i.e. alongside wireshark obtaining the data) process it with a powershell script. Is there a way I can do this - I am new to both Wireshark and Powershell so a fool proof description would be good.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is there any reason you want to do both at the same time?

First Wireshark is an inteface into winpcap, which actually does the data capture.  What you see in wireshark is NOT what you get out of winpcap.  Winpcap passes the raw data to Wireshark and Wireshark formats it for humans and can analyze the data.

Have you actually looked at a saved Wireshark file to see what it looks like?
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
PowerShell does have no native way to access WireShark, which would be necessary to process live data.
The non-GUI tools of WireShark (in particular tshark can provide a text stream you can pipe into a PS script.

But the main question is: What do you want to achieve with that? Sophisticated analysis is usually applied to capture files, not the live stream, as online analyzing consumes a lot of resources.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
The first step when using WireShark is always to ask "What do I want to see?". Just letting it run, and hoping you find something suspicious is naive. Interpreting the WireShark capture is a sophisticated act; you can't apply rules unless you know very clearly what to look after.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.