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
ivanjrt

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?

ie.

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


In the output
result.csv
192.168.1.1 | WORKSTATION-A | ONLINE
192.168.1.2 | WORKSTATION-B | OFFLINE
192.168.1.3 | NOT FOUND | OFFLINE


Thanks,
If It makes it easier column 3 could be discard it


My System SpecsSystem Spec
.
12 Sep 2015   #2
GokAy

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
ivanjrt

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
.

Reply

 How to discover computers within a subnet




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How do you tell where the subnet mask is located?
I have a subnet mask of 255.255.248.0 and i would like to know where it is located in the world. Thanks.
General Discussion
Windows 7 cannot access second subnet through VPN
I have a LAN to LAN VPN setup which is continuously linked between two draytek routers, one at home and one at the office. I have a server each end and several XP PC's. All PC's and servers are accessible with each other by IP and Hostname with no trouble at all. That is until I now have a...
Network & Sharing
Why is my subnet mask 255.255.248.0?
http://s14.postimage.org/fd9nl4xi7/Capture.jpg As shown in the screen shot above, I have my router settings set for a subnet mask of 255.255.255.0 and DHCP Range of 192.168.1.100 - 192.168.1.149 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 19:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App