Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to discover computers within a subnet

12 Sep 2015   #1

Windows 7 x64
How to discover computers within a subnet

Hello fellas!

How can I discover all the PCs connected within my network's subnet and get results in a csv file with one 1st column displaying, 2nd, column IP and computer name and the third to show me whether is offline/online?


something like this
ping -a result.csv | Find within result and sort strings...

In the output

If It makes it easier column 3 could be discard it

My System SpecsSystem Spec
12 Sep 2015   #2

Windows 7 Ultimate x64 SP1

See Knowing the IP before logging in.. or a workaround!, it is not exactly same but last post may give you an idea. Also you can add a shutdown script that would append to the same file something like "hostname" shut down
My System SpecsSystem Spec
12 Sep 2015   #3

Windows 7 x64

GokAy,from your link, the sintax line thing I can come up with was this
ipconfig -all | find "Host Name" | find "IPv4 Address" >>iplist.csv

(before setting up a loop of course)
In my mind it should work, but in reality, I look like a sucker.... any ideas?
My System SpecsSystem Spec


 How to discover computers within a subnet

Thread Tools

Similar help and support threads
Thread Forum
Can I have two routers share the same subnet?
Currently, I have a router on subnet and the GW is and DHCP range is 50 to 99 I also have a router on a subnet for another ISP and the GW is and DHCP is 100 to 149 I connect to both for various reasons, and windows has no issues allowing me in both networks...
Network & Sharing
Why is my subnet mask As shown in the screen shot above, I have my router settings set for a subnet mask of and DHCP Range of - which is default I believe, I haven't changed either setting the only thing I changed is in the Port...
Network & Sharing
Won't discover other computers
I have a problem many people seem to have and I have spent many hours/days trying to fix it unsuccessfully. I have one Win-7 SP1 64-bit computer and several other Win-XP SP-3 32-bit computers on a gigabit home network with a Linksys RVS 4000 router. All computers have the same workgroup. All...
Network & Sharing
Is there a way to see another subnet?
I'm away from home for a few months and Internet access is provied by a router in the 192.168.x.x range, so my pc has an address on this subnet. But, I have a device with an address in the 10.0.0.x range that I need occasional access to, and the only way I know how to do that is to keep changing my...
Network & Sharing
Can't discover other computers on network
I have several 7 and Vista machines and a computer running Server 2008 R2 in a networking sharing the same workgroup name. All of the computers were working and were connected to the server which shares out network storage and printers. Everything was working fine until suddenly one laptop cannot...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:47.
Twitter Facebook Google+