Netsh command reference:

https://technet.microsoft.com/fr-fr/library/cc754516(v=ws.10).aspx

Examples:

https://networking.ringofsaturn.com/PC/netsh.php

Using Netsh to redirect a port to another computer:

https://technet.microsoft.com/fr-fr/library/cc731068(v=ws.10).aspx

How to create a wifi hotspot with netsh:

https://www.wikihow.com/Create-a-WiFi-Hotspot-Using-the-Command-Prompt

Using netsh with DHCP:

http://tipsforitpros.blogspot.com/2007/10/using-netsh-with-dhcp.html

Using netsh to capture traffic:

https://blogs.msdn.microsoft.com/canberrapfe/2012/03/30/capture-a-network-trace-without-installing-anything-capture-a-network-trace-of-a-reboot/

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 (Netmon allows us to choose .etl as a file to open as if it was an .cap file from a traditional trace.)

 

 

Advertisements