Windows Commands Flashcards
/?
View help info about a command
Ex:
ping /?
ping -l
Specifies a packet size
ping -a
Reverse PTR record lookup - provides IP address of a domain name
PTR record lookup
DNS pointer record provides domain name of an IP address
ping -t
Continuous ping
ipconfig
Display a a computer’s TCP/IP configuration
ipconfig /all
Display info for all network cards
nslookup
Check DNS records and troubleshoot DNS
tracert
Track the pathway a packet takes from source IP to the destination address
Display each hop (router) that the packet passes through
Ex:
tracert google.com
shutdown
Shuts down computer
shutdown /r /m \pc2
Restart computer pc2
shutdown /s /m \pc2
Shut down remote computer
shutdown /d
Previous shutdown/restart logs
gpupdate
Apply group policies on a computer in a windows domain
netstat
Display network connections
netstat -a
Display all active and listening ports
dcdiag
Analyze the state of your domain controllers
Domain controllers
A server that provides critical services like authentication and authorization for an Active Directory domain
net stop and net start
Start and stop windows services
systeminfo
Displays configuration details on a computer
systeminfo /s
Remote computers
getmac
Get MAC address from all network cards on a system
Use /s for remote computers
gpresult
Reports on what group policies and settings are applied to a user or computer
whoami
Display current user