Quelques commandes que j’utilise régulièrement et qu’il faut selon moi connaitre …Pas de blabla c’est une aide mémoire
Lire la suite : CMD – Commandes utilesIPCONFIG
ipconfig
ipconfig /all
ipconfig /all | findstr dns
ipconfig /release
ipconfig /renew
ipconfig /release « Wi-Fi »
ipconfig /displaydns
ipconfig /displaydns | clip
ipconfig /flushdns
NSLOOKUP
nslookup farfad.fr
nslookup farfad.fr 8.8.8.8
nslookup -type=mx farfad.fr
nslookup -type=txt farfad.fr
nslookup -type=ptr farfad.fr
CLS (Clear Screen)
GETMAC
getmac /v
POWERCFG
powercfg /energy
powercfg /batteryreport
ASSOC (Association logiciel – type de fichier)
assoc
assoc .mp4=VLC.vlc
CHKDSK & SFC (Check disk and repair)
chkdsk /f
chkdsk /r
sfc /scannow
DISM
DISM /Online /Cleanup-Image / CheckHealth
DISM /Online /Cleanup-Image / ScanHealth
DISM /Online /Cleanup-Image / RestoreHealth
TASKLIST & TASKKILL
tasklist | findstr script
taskkill /f /pid 201
NETSH
netsh wlan show wlan report
netsh interface show interface
netsh interface show interface | findstr « IP Address »
netsh interface ip show dnsservers
netsh advfirewall set allprofiles state off/on
PING
ping -t farfad.fr
TRACERT
tracert farfad.fr
tracert -d farfad.fr (quick)
NETSTAT
netstat
netstat -af
netstat -o
netstat -e -t 5
ROUTE
route print
route add 192.168.40.0 mask 255.255.255.0 10.7.1.44
route delete 192.168.40.0
SHUTDOWN
shutdown /r /fw /f /t 0