Open the Command Prompt and type in the following:

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt

Change 192.168.10 to match you own network.

By using -n 1 you are asking for only 1 packet to be sent to each computer instead of the usual 4 packets.

The above command will ping all IP Addresses on the 192.168.10.0 network and create a text document in the C:\ drive called ipaddresses.txt. This text document should only contain IP Addresses that replied to the ping request.

Although it will take quite a bit longer to complete, you can also resolve the IP Addresses to HOST names by simply adding -a to the ping command.

FOR /L %i IN (1,1,254) DO ping -a -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt

This is from Here

Answer from RGG on Stack Overflow
🌐
Airnet + Dataprise
dataprise.com › home › how to ping on network from the windows command line interface or window for loops
How to ping all devices on a network from the Windows CLI
August 4, 2025 - 5) Command: What command to run, and all its parameters to use ... It will walk the whole local network block and ping each host one time.
Discussions

Pinging server from outside cmd prompt is much faster than the actual ingame ping. Thoughts?
The ping command sends a 32 byte packet, Dota uses a much larger packet. There are hundreds of servers in a region, probably scattered across multiple datacenters. You don't know which one you will get. Your ISP. More on reddit.com
🌐 r/DotA2
15
24
November 17, 2014
ELI5: “ping your isp”
Ping is a standard networking function that sends a series of simple requests for acknowledgement to another device on a network, and records whether a response was received and how long it takes. It's useful as a starting point for checking whether you have a working connection between two devices. Your ISP is your internet service provider, the company that you pay for your connection to the internet. All your data sent and received over the internet goes through their computers. Pinging your ISP is intended to help narrow down where the problem is occurring - whether it's something between you and your ISP, or an issue out in the wider internet. Most operating systems can carry out a ping operation just by typing the command and the name of the target server at a command line. For example, you might type 'ping dodgytelco.com' if dodgytelco.com is your ISP's domain name. More on reddit.com
🌐 r/explainlikeimfive
10
4
December 23, 2021
People also ask

How the ping command works?
The ping command works by sending Internet Control Message Protocol (ICMP) packets to the target host and waiting for a response. After the command completes, you will see a small error report, packet loss, and a statistical summary of the results, usually including the minimum, maximum, average round trip time in ms, and the standard deviation of the average.
🌐
stormwall.network
stormwall.network › resources › terms › general › ping
Ping Command: How It Works? | StormWall
How to check the ping?
Open the command prompt; on Windows 10, you can do this using the Win+R keyboard shortcut. In the window that opens, type cmd and press Enter. In the command-line interpreter, type the Ping command and a domain name or IP address, for example: ping stormwall.network. On Linux and other operating systems, similar steps apply. Packet exchange will begin—by default, four or five requests are sent. When the process is complete, you will see a summary report. You can also check ping online.
🌐
stormwall.network
stormwall.network › resources › terms › general › ping
Ping Command: How It Works? | StormWall
How to reduce the ping?
First, diagnose potential issues with your connection to the router. Try placing your PC closer to it, or connect directly using an Ethernet cable. Check the integrity of all connected Ethernet cables. Next, disable unnecessary applications that consume bandwidth. To do this, open the Task Manager and review the corresponding tab. If none of these steps help, contact your provider—there is a high chance the issue is on their side.
🌐
stormwall.network
stormwall.network › resources › terms › general › ping
Ping Command: How It Works? | StormWall
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows-server › administration › windows-commands › ping
ping | Microsoft Learn
To ping the destination 10.0.99.221 with 10 echo Request messages, each of which has a Data field of 1000 bytes, type:
🌐
GitHub
gist.github.com › Avinashachu007 › 9b16eab83f19e8ec075c
ping all.cmd · GitHub
ping all.cmd · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ·
🌐
Lancom-systems
lancom-systems.com › docs › LCOS › Refmanual › EN › topics › aa1066622.html
Parameter overview for the ping command - LANCOM Systems
ping [-46dfnoqrmb] [-s n] [-i n] [-c n] [-x x][-p <dscp>][-a ...] destination [%scope] [%scope@rtg-tag] [%%interface] [@rtg-tag]
Find elsewhere
🌐
Biamp
support.biamp.com › general › networking
Pinging an IP address - Biamp Cornerstone
July 22, 2022 - In Windows, open the command prompt (Windows start menu > Search > type "cmd") From the command prompt, type.... for /l %i in (1,1,254) do @ping 192.168.1.%i -w 10 -n 1 | find "Reply" This will ping all addresses from 192.168.1.1 to 192.168.1.254 one time each, wait 10ms for a reply (more than enough time on a local network) and show only the addresses that replied.
🌐
Lifewire
lifewire.com › ping-command-2618099
Mastering Network Secrets: Unleash the Power of the Ping Command on Windows
July 23, 2025 - To ping a port, use the telnet command. In the command prompt, type telnet followed by the IP address or the domain name and the port number (e.g., telnet 192.168.2.1 10). ... Thanks for your feedback!
🌐
Intermedia
support.intermedia.com › app › articles › detail › a_id › 27173 › ~ › how-do-i-use-ping-in-the-command-prompt-or-terminal
How Do I Use Ping In The Command Prompt Or Terminal?
Use the command ping -t hostname where hostname is the name of the destination host to send endless ping requests until interrupted. To interrupt and display statistics, press Ctrl+Enter. To interrupt and quit this command, press Ctrl+C. This command can be used when rebooting remote devices ...
🌐
StormWall
stormwall.network › resources › terms › general › ping
Ping Command: How It Works? | StormWall
December 1, 2025 - Ping is the cmd command to determine the delay between a computer and a server. ... Ping works by sending Internet Control Message Protocol (ICMP) packets to the target host and waiting for a response. After the command completes, you will see a small error report, packet loss, and a statistical summary of the results, usually including the minimum, maximum, average round trip time in ms, and the standard deviation of the average. ... First of all, you should open the command prompt, on Windows 10, you can do this using the Win+R keyboard shortcut.
🌐
PagerDuty
pagerduty.com › home › articles › how to ping a network for testing connectivity
How to Ping a Network for Testing Connectivity | PagerDuty
November 19, 2021 - The steps to executing a ping network test depend upon the operating system you’re using. ... Type “cmd” to bring up the Command Prompt.
🌐
IONOS
ionos.com › digital guide › server › tools › ping command
Ping Command | Network diagnostics in Windows - IONOS
October 1, 2020 - Follow these in­struc­tions for using a ping test to determine if the routing between your system and that of the target computer is func­tion­ing and what sort of delay you can expect when trans­fer­ring data. 1. Open the Windows command prompt: Use the key com­bi­na­tion Windows + R to view the “Run” dialog box. Enter the command “CMD” in the “open” field and confirm by hitting the enter key.
🌐
PRTG
paessler.com › home › it explained › ping
What Is Ping? – IT Explained | PRTG
For such a small, basic utility, the ping command can be a valuable tool in numerous situations. As a command-line based utility, ping lends itself to easy use in various scripts, allowing for numerous pings to run and be recorded for all manner of usage.
🌐
Command Wizardry
commandlinewizardry.com › post › ping-command
The Ping Command | Command Line Wizardry
May 22, 2021 - C:\>ping 192.168.0.1 Pinging 192.168.0.1 with 32 bytes of data: Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Reply from 192.168.0.1: bytes=32 time=3ms TTL=64 Reply from 192.168.0.1: bytes=32 time=3ms TTL=64 Reply from 192.168.0.1: bytes=32 time=3ms TTL=64 Ping statistics for 192.168.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 3ms, Average = 2ms · Here you can see that the remote computer (192.168.0.1) responded to all four ICMP Echo (ping) packets and they had an average round trip time of 2 milliseconds.
🌐
How-To Geek
howtogeek.com › home › windows › how to use the ping command to test your network
How to Use the Ping Command to Test Your Network
August 21, 2023 - Ping a URL (like www.howtogeek.com) or IP address to see if you can reach an internet destination. If you get a successful response, you know that all the networking devices between you and that destination are working, including the network adapter in your computer, your router, and whatever devices exist on the internet between your router and the destination.
🌐
Red Hat
redhat.com › en › blog › ping-usage-basics
Ping command basics for testing and troubleshooting
November 13, 2025 - The server needs to be rebooted before I can continue with its configurations. I can issue the reboot command and then set up a continuous ping from my laptop to the server. When the ping results show success, I know the reboot process on the remote machine has been completed.
🌐
SYSNETTECH Solutions
sysnettechsolutions.com › home page › windows › windows tools › how to use ping command parameters in cmd on windows 10 / 11
How to Use Ping Command Parameters in CMD | All Options
May 7, 2026 - You use ping in CMD to test any network path with extra flags that shape the output. Add -t to send a non-stop stream until you press Ctrl-C to halt it. Use -n followed by a number to limit the probes to a set count. The -l switch lets you increase the packet bytes and check how larger loads behave. Type -a to resolve the target IP back to its host name in the reply. So you spot drops, measure delay, and map device names all from one simple command.
🌐
Sage
us-kb.sage.com › portal › app › portlets › results › view2.jsp
Using the PING command to troubleshoot network connectivity or slowness
December 3, 2025 - When there's no reply within four ... Log in to the target machine as an administrator. Open the Command Prompt. In the Command Prompt window, type: ipconfig /all....
🌐
AlertOps
alertops.com › home › ping cmd
Ping Command: What It Is & How to Use It | AlertOps
May 19, 2026 - A continuous ping test could be used to maintain a constant influx of data. The ping application runs until it is stopped by the user in Linux. Hitting CTRL and C simultaneously can be used to do the same. The same command works on Windows also.
🌐
Config Server Firewall
configserverfirewall.com › windows-10 › cmd-ping-command
CMD Ping Command | Test Network Connectivity and Latency
February 20, 2023 - The -t is the continuous ping command option. It sends ICMP Echo Requests to the remote computer until you manually stop the command by pressing Ctrl + C. ... You can view the statistics while the test is running by pressing Ctrl + Pause key ...