Most Viewed
Favorites
Recently Viewed
windows Commands
Networking
ipconfig
Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
ipconfig
Examples:
Display basic network configurationipconfig
ipconfig /all
ipconfig /flushdns
netstat
Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics, and IPv6 statistics.
netstat
Examples:
Show all active connections and listening portsnetstat -a
netstat -b
netstat -ano
ping
Verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) echo Request messages.
ping
Examples:
Ping a hostping google.com
ping -t 8.8.8.8
ping -n 10 localhost
tracert
Determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) echo Request messages with varying Time-to-Live (TTL) values.
tracert
Examples:
Trace the route to a hosttracert google.com
tracert -d 8.8.8.8
Process Management
tasklist
Displays a list of currently running processes on either a local or remote machine.
tasklist
Examples:
List all running processestasklist
tasklist /svc
tasklist /fi "pid eq 1234"
System Management
sfc
System File Checker. Scans and verifies the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions.
sfc
Examples:
Scan system files and repair themsfc /scannow
sfc /verifyonly
schtasks
Schedules commands and scripts to run on a computer at a specified time or event.
schtasks
Examples:
List all scheduled tasksschtasks /query
schtasks /create /sc daily /tn "My Task" /tr "notepad.exe" /st 12:00
schtasks /run /tn "My Task"