ipconfig
: Displays the IP configuration information of the computer.ipconfig /all
: Shows detailed IP configuration information, including DNS settings, DHCP lease information, and more.findstr
: Searches for a specific string or pattern in the output of a command.ipconfig /release
: Releases the current IP address assigned to the computer.ipconfig /renew
: Renews the IP address of the computer by requesting a new one from the DHCP server.ipconfig /displaydns
: Displays the contents of the DNS resolver cache, which contains recent DNS resolutions.clip
: Copies the output of a command to the clipboard.ipconfig /flushdns
: Clears the DNS resolver cache and forces the computer to retrieve fresh DNS records.nslookup
: Performs DNS lookups to retrieve information about domain names, IP addresses, and more.cls
: Clears the command prompt screen.getmac /v
: Displays the MAC (Media Access Control) addresses of all network adapters on the computer.powercfg /energy
: Scans the system for energy efficiency issues and generates a detailed report.powercfg /batteryreport
: Generates a report with information about the computer's battery usage and health.assoc
: Displays or modifies file extension associations on the system.chkdsk /f
: Checks the file system of a drive for errors and attempts to fix them.chkdsk /r
: Performs a thorough scan of a drive, checks for bad sectors, and attempts recovery.sfc /scannow
: Scans system files for integrity violations and attempts to repair them.DISM /Online /Cleanup /CheckHealth
: Verifies the health of the Windows image and component store.DISM /Online /Cleanup /ScanHealth
: Scans the Windows image for component store corruption.DISM /Online /Cleanup /RestoreHealth
: Restores the Windows image from the specified source or Windows Update.tasklist
: Displays a list of running processes on the computer.taskkill
: Terminates or ends a running process or application.netsh wlan show wlanreport
: Generates a report with information about the wireless network and connectivity.netsh interface show interface
: Displays a list of network interfaces on the computer.netsh interface ip show address | findstr "IP Address"
: Retrieves the IP address information for network interfaces.netsh interface ip show dnsservers
: Displays the DNS server settings for network interfaces.netsh advfirewall set allprofiles state off
: Turns off the Windows Firewall for all network profiles.netsh advfirewall set allprofiles state on
: Turns on the Windows Firewall for all network profiles.ping
: Sends ICMP Echo Request packets to a specified network host or IP address to check connectivity.ping -t
: Continuously pings a network host or IP address until stopped.tracert
: Traces the route taken by packets from the source to a destination network host.tracert -d
: Performs a trace route without resolving host names to IP addresses.netstat
: Displays active network connections and listening ports.netstat -af
: Displays all active TCP and UDP connections, including listening ports.netstat -o
: Displays active network connections and their associated process IDs (PIDs).netstat -e -t 5
: Displays statistics for Ethernet interfaces, including TCP connections, every 5 seconds.route print
: Displays the IP routing table and routing information of the computer.route add
: Adds a static route to the IP routing table.route delete
: Deletes a static route from the IP routing table.shutdown /r /fw /f /t 0
: Shuts down and restarts the computer immediately, bypassing the firmware (BIOS/UEFI) and forcefully terminating running processes.
Special thanks to NetworkChuck for providing the command list used in this document.
https://www.youtube.com/watch?v=Jfvg3CS1X3A
For more informative content, please visit NetworkChuck's YouTube channel.