I'm not even sure if this is the proper approach but I have a number of computers on our school network (domain) that I need to report the IP addresses for. All of these computers are contained in a single orgizational unit in the domain.
Is there a way to use Active Directory to get the IP addresses for each of the machines? I looked in the Attribute Editor in ADUC but didn't see this field. However, I did see the dNSHostName. Maybe there is a way to resolve that to an IP address in code somehow?
Is there a much easier way to accomplish something like this that I'm just missing?