This cheatsheet contains the common and useful commands for the Windows Network Shell Command.
Command | Description |
---|---|
netsh interface ip show config |
Show IP configuration for all interfaces |
netsh interface ipv4 show addresses |
Show IPv4 addresses for all interfaces |
netsh interface ipv6 show addresses |
Show IPv6 addresses for all interfaces |
netsh interface tcp show global |
Show global TCP parameters |
netsh interface tcp show heuristics |
Show TCP heuristic parameters |
netsh interface tcp show security |
Show TCP security parameters |
netsh interface tcp show supplemental |
Show TCP supplemental parameters |
netsh interface tcp set global autotuninglevel |
Set TCP global autotuning level |
netsh interface tcp set global chimney |
Enable or disable TCP chimney offload |
netsh interface tcp set global congestionprovider |
Set the TCP congestion control algorithm |
netsh interface tcp set global ecncapability |
Enable or disable Explicit Congestion Notification (ECN) |
netsh interface tcp set global timestamps |
Enable or disable TCP timestamps |
netsh interface tcp set supplemental customapp |
Configure custom TCP parameters for a specific application |
netsh interface tcp add heuristics |
Add a TCP heuristic rule |
netsh interface tcp delete heuristics |
Delete a TCP heuristic rule |
netsh advfirewall show allprofiles |
Show all firewall profiles and their settings |
netsh advfirewall set allprofiles firewallpolicy |
Set the firewall policy for all profiles |
netsh advfirewall set allprofiles state |
Enable or disable the firewall for all profiles |
netsh advfirewall set allprofiles logging |
Configure logging for all profiles |
netsh advfirewall firewall add rule |
Add a firewall rule |
netsh advfirewall firewall delete rule |
Delete a firewall rule |
netsh wlan show profiles |
Show all wireless network profiles |
netsh wlan show drivers |
Show wireless network driver information |
netsh wlan show interfaces |
Show wireless network interface information |
netsh wlan set hostednetwork mode |
Enable or disable the hosted network |
netsh wlan set hostednetwork ssid |
Set the SSID for the hosted network |
netsh wlan set hostednetwork key |
Set the encryption key for the hosted network |
netsh wlan start hostednetwork |
Start the hosted network |
netsh wlan stop hostednetwork |
Stop the hosted network |
Other useful commands | Command Description |
---|---|
netsh bridge show adapter |
Show all network adapters in the bridge |
netsh bridge set adapter priority |
Set the priority for a network adapter in the bridge |
netsh dnsclient show state |
Show DNS client settings |
netsh dnsclient set dnsservers |
Set the DNS servers for the DNS client |
netsh dhcp show server |
Show DHCP server settings |
netsh dhcp server \\ServerName show clients |
Show DHCP clients connected to a specific server |
netsh http show sslcert |
Show SSL certificate bindings |
netsh http add sslcert |
Add an SSL certificate binding |
netsh http delete sslcert |
Delete an SSL certificate binding |
netsh http show urlacl |
Show URL reservations |
netsh http add urlacl |
Add a URL reservation |
netsh http delete urlacl |
Delete a URL reservation |
netsh interface ipv6 show route |
Show IPv6 routing table |
netsh interface ipv6 add route |
Add an IPv6 route |
netsh interface ipv6 delete route |
Delete an IPv6 route |
netsh lan show interfaces |
Show LAN interface information |
netsh wlan show drivers |
Show wireless network driver information |
netsh wlan show networks mode=bssid |
Show available wireless networks with their BSSID (Basic Service Set Identifier) |
netsh trace start scenario |
Start network tracing for a specific scenario |
netsh trace stop |
Stop network tracing |
netsh trace show scenarios |
Show available network tracing scenarios |
netsh trace show providers |
Show available network tracing providers |
netsh trace show captures |
Show available network trace captures |
netsh trace delete capture |
Delete a network trace capture |
Download
You can download the cheatsheet above as PDF file in the link below.
Other Cool Stuff
Check out these other cheatsheets to enhance your workflow.
Git Command Cheat sheet
In this article, you will get a list of useful commands when working with git version control. This will allow you to quickly manage your repositories in quick steps.

VSCode Cheat Sheet
A comprehensive list of most useful VSCode Keyboard Shortcuts.

Markdown Cheat Sheet
This article will provide a markdown cheat sheet to help you get started with this simple yet powerful markup language.
