如何获取 LAN 上活动 IP 地址、MAC 地址和 NetBIOS 名称的列表? [英] How do I get a list of the active IP-addresses, MAC-addresses and NetBIOS names on the LAN?

查看:78
本文介绍了如何获取 LAN 上活动 IP 地址、MAC 地址和 NetBIOS 名称的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取活动 IP 地址、MAC 地址和 NetBIOS LAN 上的名称?

How do I get a list of the active IP-addresses, MAC-addresses and NetBIOS names on the LAN?

我想获取每个主机的 NetBIOS 名称、IP 和 MAC 地址LAN,最好不必走到每台 PC 上并自己记下这些东西.

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.

如何使用 Windows Script Host/PowerShell/whatever?

How to do that with Windows Script Host/PowerShell/whatever?

推荐答案

正如 Daren Thomas 所说,使用 nmap.

As Daren Thomas said, use nmap.

 nmap -sP 192.168.1.1/24

扫描网络192.168.1.*

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

问候

这篇关于如何获取 LAN 上活动 IP 地址、MAC 地址和 NetBIOS 名称的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆