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 LAN, preferably not having to walk to every single PC and take note of the stuff myself.
How to do that with Windows Script Host/PowerShell/whatever?
As Daren Thomas said, use nmap.
nmap -sP 192.168.1.1/24
to scan the network 192.168.1.*
nmap -O 192.168.1.1/24
to get the operating system of the user. For more information, read the manpage
man nmap
regards
arp -a
That gets everything the current machine knows about on the network.
(I'm putting this up there as a second option, since nmap isn't universally installed).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With