查看本机mac地址的bat代码?

请各位大神帮忙写一段查看本机mac地址的bat代码
2025-01-08 12:13:05
推荐回答(1个)
回答1:

getmac
ipconfig /all|findstr /i /c:"物理地址" /c:"Physical Address"
wmic NIC where "MACAddress!=null" get MACAddress /value
wmic NICCONFIG where "MACAddress!=null" get MACAddress /value