How do I get a list of the active IP-addresses, MAC-addresses and NetBIOS names on the LAN?
I\'d like to get NetBIOS name, IP and MAC addresses for every host on the
In PowerShell:
function Explore-Net($subnet, [int[]]$range){ $range | % { test-connection "$subnet.$_" -count 1 -erroraction silentlycontinue} | select -Property address | % {[net.dns]::gethostbyaddress($_.address)} }
Example:
Explore-Net 192.168.2 @(3..10)