Skip to main content

1E 8.1 (on-premises)

Discovery.LookupNetBiosNames

Method

LookupNetBiosNames

Module

Discovery

Library

Discovery

Action

Performs a NetBios reverse lookup on a list of IP addresses

Parameters

IpAddresses (string): A list of IPv4 addresses in string notation separated by commas.

Return values

IpAddress (string): The IP address that was looked up.

HostName (string): The resolved host name.

Example

Returns one row, as the IPv6 address is ignored.

Discovery.LookupNetBiosNames(IpAddresses:"1.2.3.4,::1");

Platforms

  • Windows

Notes

This method will only resolve IPv4 addresses. IPv6 addresses will be ignored, and a warning will be logged.

Warning

This method may request information over the wire. As such, it shouldn't be sent to a lot of machines. Staggering is also a recommended practice.