Command_Prompt_CheatSheet_IT_Support
Command_Prompt_CheatSheet_IT_Support
Network Commands
ipconfig:
Displays IP configuration
ipconfig /all:
Shows detailed IP info
ipconfig /release:
Releases current IP address
ipconfig /renew:
Renews IP from DHCP server
ipconfig /flushdns:
Clears DNS cache
ping google.com:
Checks internet connectivity
tracert google.com:
Traces the route to a domain
nslookup google.com:
Gets DNS info about a domain
netstat -an:
Displays active connections and listening ports
net use:
Shows mapped network drives
net use Z: \\servername\folder:
Maps a network drive
net user:
Lists user accounts
Command Prompt Cheat Sheet for IT Support
net user username /add:
Adds a new local user