ropnop / go-windapsearch

Utility to enumerate users, groups and computers from a Windows domain through LDAP queries
BSD 3-Clause "New" or "Revised" License
348 stars 46 forks source link

computers IP address #21

Open noraj opened 2 years ago

noraj commented 2 years ago

On the computers module it could be nice to have the IP address(es) directloy in addition to dNSHostName.

noraj commented 2 years ago

The IPv4Address is not saved in Active Directory. The Get-ADComputer Cmdlet uses a System.Net.Dns.GetHostEntry() [...]

http://web.archive.org/web/20190914073034/http://www.myotherpcisacloud.com:80/post/IPv4Address-Attribute-In-Get-ADComputer

acepace commented 1 year ago

Note you can always use https://github.com/ropnop/windapsearch that supports this