Netsh command reference:


Using Netsh to redirect a port to another computer:

How to create a wifi hotspot with netsh:

To check SSL cert:

netsh http show sslcert


Using netsh with DHCP:

Using netsh to capture traffic:

Capture a NETSH network trace

a) Open an elevated command prompt and run: “netsh trace start persistent=yes capture=yes tracefile=c:\temp\nettrace-boot.etl” (make sure you have a \temp directory or choose another location).

b) Log on and stop the trace using: “netsh trace stop” (from an elevated prompt).

c) Open the .etl with Network monitor or Message Analyzer  (allows you to choose .etl as a file to open) and save as .cap to be analyzed in detail with Wireshark if you prefer: