找回密码
 加入
搜索
查看: 1371|回复: 0

[AU3基础] 求大神帮忙把这个代码转换成autoit代码

[复制链接]
发表于 2016-7-12 23:16:05 | 显示全部楼层 |阅读模式
$Adapters=Get-WMIObject WIN32_PNPSignedDriver |  where{$_.DeviceClass -eq "NET"NET -and $_. HardwareID-like "*PCI*"}
foreach ($Adapter in $Adapters)
{$AdapterName=Get-WMIObjecte WIN32_NetworkAdapter | where {$_.PNPDeviceID - eq $Adapter.DeviceID}
Write-Host 'Adapter Name:' $AdapterName.NetConnectionID
Write-Host 'PCI BUS:' $Adapter.Location
Write-Host 'MAC Address:' $AdapterName.MACAddress
Write-Host 'GUID:' $AdapterName.GUID
Write-Host
}
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-27 13:35 , Processed in 0.075127 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表