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

前端 未结 5 1182
北恋
北恋 2021-01-06 09:42

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

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-06 10:15

    In PowerShell you can do something like:

    $computers = "server1","server2","server3"

    Get-WmiObject Win32_NetworkAdapterConfiguration -computer $computers -filter "IPEnabled ='true'" | select __Server,IPAddress,MACAddress

提交回复
热议问题