Basic Network Commands
Basic Network Commands
Command Description
Command Description
ipconfig /all Displays detailed info (MAC, DNS, DHCP status, etc.).
Command Description
Part Description
"Ethernet" Name of the network interface (use netsh interface show interface to find it).
Reset TCP/IP
Shows the names of all interfaces you can use in the above commands.
Viewing your Wi-Fi (router) password using CMD is possible only if your PC has previously connected
to that Wi-Fi network. Here's how you can retrieve it:
This lists all the Wi-Fi networks your PC has connected to before.
4. Look under:
Security settings
• Press Windows + R, type cmd, then press Ctrl + Shift + Enter to run as admin.
Breakdown:
Sets Google DNS as primary and secondary (you can change them if needed).
cmd
CopyEdit
query user
cmd
CopyEdit
msg JohnDoe Hello John, this is a message from CMD.
Note:
cmd
CopyEdit
runas /user:ComputerName\username "cmd"