NICの情報を取得する

MACアドレスを取得する

バッチ

コマンド:


wmic nic get AdapterType,Caption,Description,MACAddress,Manufacturer,Name,NetConnectionID,ProductName /value

実行例:


C:\>wmic nic get AdapterType,Caption,Description,MACAddress,Manufacturer,Name,NetConnectionID,ProductName /value

AdapterType=
Caption=[00000000] Microsoft Kernel Debug Network Adapter
Description=Microsoft Kernel Debug Network Adapter
MACAddress=
Manufacturer=Microsoft
Name=Microsoft Kernel Debug Network Adapter
NetConnectionID=
ProductName=Microsoft Kernel Debug Network Adapter
AdapterType=イーサネット 802.3
Caption=[00000001] Intel(R) 82574L Gigabit Network Connection
Description=Intel(R) 82574L Gigabit Network Connection
MACAddress=00:0C:29:89:9E:EA
Manufacturer=Intel Corporation
Name=Intel(R) 82574L Gigabit Network Connection
NetConnectionID=Ethernet0
ProductName=Intel(R) 82574L Gigabit Network Connection
AdapterType=
Caption=[00000002] Bluetooth Device (RFCOMM Protocol TDI)
Description=Bluetooth Device (RFCOMM Protocol TDI)
MACAddress=
Manufacturer=Microsoft
Name=Bluetooth Device (RFCOMM Protocol TDI)
NetConnectionID=
ProductName=Bluetooth Device (RFCOMM Protocol TDI)
AdapterType=イーサネット 802.3
Caption=[00000003] Bluetooth Device (Personal Area Network)
Description=Bluetooth Device (Personal Area Network)
MACAddress=88:78:73:6A:AA:A8
以下省略

コマンドサンプル一覧