
Computers from OU and then IP of those computers
You could do an LDAP query for all objects of the computer class in the
particular OU
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netd...
i/searching_with_activex_data_objects_ado.asp) and then check out the
NetAddresses property of the IADsComputer object
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netd...
i/iadscomputer_property_methods.asp)
--
---------------------------------------------------
Jamie M Vachon
[MVP ADSI]
---------------------------------------------------
Quote:
> How would you grab computer object names and the IP Addresses of those
> computers from a particular OU in Active Directory so that it could be
used
> to parse the computer objects to other OU's.?
> CN=COMPUTER,DC=DOMAIN,DC=COM
> Any thoughts?
> Rob