I want to know if there is a tool that I can use to script out packet captures (command line) without having to install anything (and preferably not even pcap). This is for Windows machines; the tool would be run with administrative credentials.
I just want to glean the source/destination IP and port pair for packets sent in and out. Netstat will not work, because sessions can open and close within milliseconds and would be missed.
Quick googling reveals either I am going to have to pay for an expensive tool or stick to GUI based tools.