windows commands
windows commands
Aim
Windows commands
1.ping
The ping command is a Command Prompt command used to test the ability of the source
computer to reach a specified destination computer.
output
>ping www.google.com
2.ipconfig
The ipconfig command allows to get the IP address information of a Windows computer. It also
allows some control over your network adapters, IP addresses
output
>ipconfig
3.getmac
Getmac is a Windows command used to display the Media Access Control (MAC) addresses for
each network adapter in the computer.
Output
>getmac
4.hostname
The hostname command displays the name of the current host system.
Output
>hostname
Csestudent
5.nslookup
The nslookup command queries internet domain name servers about various hosts and domains,
or to print a list of the hosts in a domain.
output
>nslookup
6. tracert
The Traceroute command (tracert) is a utility designed for displaying the time it takes for a
packet of information to travel between a local computer and a destination IP address or domain.
Output
>tracert www.google.com
7. netstat
The network statistics ( netstat ) command is a networking tool used for troubleshooting and
configuration, that can also serve as a monitoring tool for connections over the network.
Output
>netstat
8. arp
The arp command displays and modifies the Internet-to-adapter address translation tables used
by the Address in Networks and communication management.
Output
>arp /a
9. pathping
Pathping is commonly used to troubleshoot network issues, particularly the ones related to
latency and network performance.
Output
>pathping www.google.com
10. systeminfo
The systeminfo command displays complete system information for Microsoft Windows
computers.
Output
>systeminfo
11. nbtstat
The nbtstat command is a diagnostic tool for NetBIOS over TCP/IP. Its primary design is to help
troubleshoot NetBIOS name resolution problems.
Output
>nbtstat –a 192.168.1.1
The net use command is a Command Prompt command used to connect to, remove, and
configure connections to shared resources, like mapped drives and network printers.
Output
>net view
13. taskkill
Taskkill allows you to kill a process either by its PID or by the name listed for it in the tasklist
output.
Output
>netsh