Title: RE: Win32::AdminMisc::GetEnvVar
Use any utility or process to get a list of machines from your browse list and you will get different numbers every time. The machine accounts themselves are not OS specific - when you are getting a list of a particular OS type, you are relying on the browser. I use a process that gets all of the browsers and then queries each of them for a list of machines. I tend to get a better coverage that way.
 
-----Original Message-----
From: Shea, Linchi [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 11:33 AM
To: '[EMAIL PROTECTED]'
Subject: Win32::NetAdmin::GetServers

If I run this for a domain with  a large number of machines, I always get different number of servers in array @servers. For instance, I may get 582 machines in one run, while getting 712 in another run.
    Win32::NetAdmin::GetServers( '', $domain, SV_TYPE_NT, \@servers); 
 
Anybody knows why it should behave as such? I'm use ActiveState Perl build 522.
 
Linchi
 
 
 

Reply via email to