Here are some common Netsh contexts:
Restores TCP/IP and Winsock (Windows Sockets) to factory defaults. Pro-tip: You must reboot after running this. Do not skip the reboot. netsh commands
netsh advfirewall firewall add rule name="Block_Notepad" dir=out program="C:\Windows\notepad.exe" action=block Here are some common Netsh contexts: Restores TCP/IP