Kipp: How reliable is that? Because, when I executed the command you had posited, I got nothing. Thanks, Rex ------ Here is the output. C:\>nbtstat -c
Local Area Connection: Node IpAddress: [x.x.x.x] Scope Id: [] No names in cache ------------------------------------------------- "Kipp, James" wrote:you can also just use 'nbtstat -c'. > -----Original Message----- > From: RTO RTO [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 6:07 PM > To: Timothy Johnson; 'Mark Richmond'; [EMAIL PROTECTED] > Subject: RE: How to find all active windows hosts on a network > > > I ran this one-liner, and it did return all the > Windows NT/2000/Servers/Workstations attached to my > domain/workgroup. > > C:\>perl -e "use Win32::NetAdmin; my($serverRef) = {}; > Win32::NetAdmin::GetServers('', 'MYDOMAINNAME', > SV_TYPE_SERVER, $serverRef); while(my($key, $val) = > each %{$serverRef}){print qq[$key ==> $val\n];}" > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost