How to ping multiple IP address in a range of IP address
Issue
How to ping multiple IP address
Product
Any requiring communication with IP address
Environment
Command Prompt
Cause
User wants to ping multiple IP address with one command
Resolution
Run the following command
for /L %z in (1,1,254) do @ping 10.0.0.%z -w 10 -n 1 | find "Reply"
Change the IP address after the ping command to reflect your networks IP range. The above command will ping each address between 10.0.0.1 and 10.0.0.254 and return the IP address that replay to the ping
edit: The -w 10 makes it only wait 10 ms for a reply before moving on. If your network is slow you will have to up this value or take it out all together.
發佈於: 施耐德電機Taiwan








需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。