Post

Netsh Get Info

Collection of interesting and useful commands for the Netsh tool in Windows. Netsh has a huge amount of functionality, this is by no means exhaustive.

DescriptionCommand
Show Wifi Profilesnetsh wlan show profiles
Show Wifi Profile Passwordnetsh wlan show profile wifi_name key=clear
Show Interface Statusnetsh interface ipv4 show interfaces
Show Interface IPsnetsh interface ipv4 show ipaddresses
Show Interface IP, Gateway, Subnetnetsh interfaces ipv4 show addresses
Show Network Routingnetsh interface ipv4 show route
Show DNS Serversnetsh interface ipv4 show dnsservers
Show Cached IPs & MACs of Known Hostsnetsh interface ipv4 show neighbors
Show Current TCP Connectionsnetsh interface ipv4 show tcpconnections
Show Firewall Statusnetsh advfirewall show allprofiles
This post is licensed under CC BY 4.0 by the author.