This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how to close and save wireshark through cmd for task scheduler

0

Hi,

I would like to create a task that closes wireshark portable and saves the data automatically without any interaction from the user.

What would my script look like ?

I appreciate everybody's input.

Thank You,

Jake

asked 28 Feb '17, 12:57

DrunkenChinchila's gravatar image

DrunkenChinc...
6113
accept rate: 0%

edited 28 Feb '17, 12:58


One Answer:

0

Your question is very general. Your capture command is going to highly depend upon what you're trying to capture and for how long. Under what conditions should it stop?

In any case, you should probably be looking into using a command-line tool such as dumpcap instead of Wireshark. To help figure out your dumpcap command, I would suggest that you start by reading the dumpcap man page or dumpcap section of the Wireshark User Guide for usage information and then determine which options best fit your capturing needs.

answered 01 Mar '17, 13:40

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%