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]