Command Line Tools Flashcards
(37 cards)
ipconfig
shows the current network configuration of the device that you are on, IP Address, Gateway address
ipconfig /all
give us MAC address and DNS server
ipconfig /all | findstr dns
the |findstr dns will search only for the DNS server IP address
ipconfig /release
get new IP address, by releasing old
ipconfig /renew
get new ip address after releasing old
ipconfig /renew “wi-fi”
only get new wifi ip address
ipconfig /displaydns
list all websites it knows about and their dns
ipconfig /displaydns |clip
will copy the results of cammand to paste in word program
ipconfig /flushdns
will delete dns resolver cache removing any old entries
nslookup website.com
tell you IP address of a website
cls
clear screen
getmac /v
get mac address
powercfg /energy
get report on power
powercfg /batteryreport
get battery report, copy file location and paste into command prompt
assoc
show which file types are associated with which programs
assoc .mp4=VLC.vlc
change the association of a file type and what program to use
chkdsk /f
check disk for errors
chkdsk /r
check for sector issues, might need reboot
sfc /scannow
check to make sure files are good and replace if necessary
DISM /Online /Cleanup-Image /CheckHealth
check health of system
DISM /Online /Cleanup-Image /ScanHealth
scan system for health
DISM /Online /Cleanup-Image /RestoreHealth
Restores health
tasklist |findstr script
see whats running
taskkill /f /pid xxxxx
will kill task of the PID you entered