获取MAC地址

Posted on 2019-07-19 18:23  努力成长静待花开  阅读(135)  评论(0编辑  收藏  举报

  

  根据得到的MAC地址,你可以识别其网络供应商,只需下载或调用官方的IEEE供应商列表

[Net.ServicePointManager]::SecurityProtocol ='Tls, Tls11, Tls12'
$url="http://standards.ieee.org/develop/regauth/oui/oui.txt"
$savaName="c:\VendorList.txt"
iwr -uri $url -OutFile $savaName