You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

查询WMI类MSNdis_80211_BSSIList返回空实例,求survey执行方法及BSS信标IE获取方案

通过PowerShell获取无线接入点列表及信标信息元素(IEs)的问题

我尝试用PowerShell编程获取当前无线接入点列表,使用WMI Explorer 2.0.0.2提供的代码查询WMI类MSNdis_80211_BSSIList:

$computer = $env:COMPUTERNAME
$namespace = "ROOT\WMI"
$classname = "MSNdis_80211_BSSIList"

Write-Output "====================================="
Write-Output "COMPUTER : $computer "
Write-Output "CLASS    : $classname "
Write-Output "====================================="

Get-WmiObject -Class $classname -ComputerName $computer -Namespace $namespace |
    Select-Object * -ExcludeProperty PSComputerName, Scope, Path, Options, ClassPath, Properties, SystemProperties, Qualifiers, Site, Container |
    Format-List -Property [a-z]*

但枚举时返回0个实例。同命名空间下的MSNdis_80211_BssIdListScan类描述为:

Perform a survey to refresh the NDIS 802.11 BSS list
(中文译:执行扫描以刷新NDIS 802.11 BSS列表)

但该类未说明如何执行扫描操作。Windows 10 SDK的wmicore.mof文件第6892行也定义了这个类,同样没有提及“survey(扫描)”的具体含义和执行方式。

我也考虑过其他获取详细BSS属性的方法,但可选方案有限,核心需求是能枚举信标信息元素(IEs)。

内容的提问来源于stack exchange,提问作者Reinderien

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.05 10:52:47