# How to find Windows computers on Windows Network?

**URL:** <https://www.ruby-forum.com/t/how-to-find-windows-computers-on-windows-network/65884>\
**Category:** Ruby\
**Created:** [August 22, 2006, 3:46am UTC](https://www.ruby-forum.com/t/how-to-find-windows-computers-on-windows-network/65884 "2006-08-22T03:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 22, 2006, 3:46am UTC](https://www.ruby-forum.com/t/how-to-find-windows-computers-on-windows-network/65884/1 "2006-08-22T03:46:55Z")

</div>

I want to use Ruby to scan a Windows network for a set of files and  
replace them if they are out of date. I have been using a Python  
script which uses win32net to find all the computers on my network. I  
cannot find similar functionality in ruby, at least so far. Does  
anyone know where this capabilty can be found in ruby?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 22, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/how-to-find-windows-computers-on-windows-network/65884/2 "2006-08-22T18:06:44Z")

</div>

On Mon, 21 Aug 2006 21:45:08 -0400, removed\_email\_address@domain.invalid  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I want to use Ruby to scan a Windows network for a set of files and  
> replace them if they are out of date. I have been using a Python  
> script which uses win32net to find all the computers on my network. I  
> cannot find similar functionality in ruby, at least so far. Does  
> anyone know where this capabilty can be found in ruby?
> 
> Thanks in advance.

You might look into Bonjour, which would give you a little more  
flexibility as far as finding computers on the network.

Regards,  
JJ
