netsh interface ipv4 set address name="Ethernet" source=dhcp
Have a netsh horror story or a hidden gem? Drop it in the comments below.
April 14, 2026
netsh wlan show wlanreport This creates an HTML file in C:\ProgramData\Microsoft\Windows\WlanReport\ showing every connection, disconnect, and error over the last three days. Everyone knows ipconfig /release and /renew . But those commands time out if the DHCP server is slow. Netsh is more reliable for scripting.
netsh advfirewall show allprofiles
netsh winsock reset netsh int ip reset reset.log Restores TCP/IP and Winsock (Windows Sockets) to factory defaults. Pro-tip: You must reboot after running this. Do not skip the reboot. 2. Firewall Auditing & Management Windows Defender Firewall is powerful, but the GUI is slow. Netsh lets you see exactly what is happening.
netsh wlan show profiles
Mastering Netsh: The Swiss Army Knife of Windows Networking