Netsh — Commands
6 minutes
netsh wlan show profiles
netsh interface portproxy add v4tov4 listenport=8080 connectaddress=192.168.1.50 connectport=80 While netsh can manage ARP , HTTP , WinRM , and RAS , stick to the common commands above until you are comfortable. Misusing netsh http delete sslcert can break IIS and Remote Desktop instantly. Cheat Sheet Summary | Task | Command | | :--- | :--- | | Reset network stack | netsh winsock reset | | See WiFi password | netsh wlan show profile name="SSID" key=clear | | Backup firewall rules | netsh advfirewall export backup.wfw | | Set static IP | netsh interface ip set address "Ethernet" static 10.0.0.2 255.0.0.0 10.0.0.1 | | Create port forward | netsh interface portproxy add v4tov4 listenport=8080 connectport=80 | Final Thoughts Netsh isn't glamorous. It has a steeper learning curve than PowerShell's Get-NetAdapter , but it is always available. Whether you are repairing a corporate laptop via remote command line or hacking your own forgotten WiFi password, netsh gets the job done with zero bloat. netsh commands