Perl has a builtin function for converting host names to IP addresses. If you are going to use VB, you could use WMI[1] to get the ip address as well.
[1] While WMI is supported on everything from NT4 & win98 forward, it is only installed by default on 2000 and above. If you have a lot of 9x machines, WMI probably isn't an option. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J0mb Sent: Friday, February 20, 2004 12:58 PM To: [EMAIL PROTECTED] Subject: R: [ActiveDir] OU/Computer accounts reorganization ok...thanks for all replies. Unfortunately i have a basic knowledge of scripting, so it looks like it's going to be a hard job. Anyway, what would be the best method to achieve this? Get the Ip addresses of the machines from a nslookup or ping, or is there a command/function or whatever to get the ip/site from the active directory? J List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/