Windows – Commands

cmd

Miscellaneous

Display the machine’s uptime

net statistics workstation | find /I "since"
 Statistics since 2011-12-12 09:44:37

 

nslookup

Display some data about name servers.

C:\Users\firstname.lastname>nslookup openlog.it
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    openlog.it
Address:  5.39.89.33
C:\Users\firstname.lastname>nslookup 5.39.89.33
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Name:    ns569423.ip-5-39-89.eu
Address:  5.39.89.33

 

ipconfig

Display data of network adapters

ipconfig /all

Display the DNS cache

ipconfig /displaydns

Empty the DNS cache

ipconfig /flushdns

 

arp

Display the ARP cache

arp -a

Empty the ARP cache

arp -d

 

tracert

Determine the route followed by a packet (by default, 30 jumps are possible)

tracert IPorDomainName

 

netstat

Display all connexions currently made by the host which executes this command (-f allow to display long names)

netstat -f

 

tasklist

Display all the ongoing processes

tasklist

Display associated DLL

tasklist /M

Detailed information

tasklist /V

display the correspondances between : applications – ongoing services

tasklist /SVC

Leave a Reply

Your email address will not be published. Required fields are marked *