C:\Program Files\Wireshark\dumpcap.exe -a duration:120 -i <capture interface> -w C:\temp\lo.pcap
C:\Program Files\Wireshark\dumpcap.exe -D <Print a list of the interfaces on which Dumpcap can capture, and exit. For each network interface, a number and an interface name, possibly followed by a text description of the interface, is printed. The interface name or the number can be supplied to the -i option to specify an interface on which to capture.>
C:\Program Files\Wireshark\dumpcap.exe -a duration:120 -i Ethernet -w C:\temp\lo.pcap
schtasks /create /tn "Packet Capture" /tr "C:\Program Files\Wireshark\dumpcap.exe" /sc daily /st 07:00:00 /ed 12/31/2004