10 Example Usage of ping Command on Windows

Ping or Packet InterNet Groper is a networking utility and the most used command in the diagnosis of any networking-related issue. This command is very simple and just tells whether the remote host is alive or dead. Now you can be asked about the host? The host is any device that is connected to the network.

Ping command will send ICMP (Internet Control Message Protocol) request to the remote host. If the remote host is reachable, it simply tells the trip time. But if the remote host not reachable in a proper way, it tells about the packet loss. Click Here if you are interested in the Top 20 Windows PowerShell Commands for Administrators.

In this article, we will see 10 Example Usage of ping Command on Windows.

(1) Display help options

List all possible options

ping /?

(2) Ping host for unlimited time until press Ctrl+C to exit

ping -t <url>

(3) Send number of echo requests by using -n (1 to 4.2 billion) (In Windows, 4 is the default)

ping -n 10 <url>

(4) To find hostname with ping

ping -a <url>

(5) To ping with IPv6

ping -6 <server>

(6) To ping with IPv4

ping -4 <server>

(7) To send request of specific size

ping -l 1000 <url>

(8) To enable verbose option

ping -v <url>

(9) Timeout (in ms) to wait for each reply. It specifies the termination time to the ping output.

ping -w 80 <url>

(10) To spoof source address to use

ping -S 10.32.23.43 <url>

Conclusion

This article covers brief about ping command and top example usage so Windows administrator able to use this command in a professional way.

Subscribe us to receive more such articles updates in your email.

If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!

Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.

You may also like...

Leave a Reply

Your email address will not be published.