go-windapsearch icon indicating copy to clipboard operation
go-windapsearch copied to clipboard

computers IP address

Open noraj opened this issue 2 years ago • 2 comments

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

noraj avatar Nov 09 '22 09:11 noraj

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

noraj avatar Nov 09 '22 09:11 noraj

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

acepace avatar Feb 20 '23 20:02 acepace