Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI MSNdis_80211_ServiceSetIdentifier QueryContent of WMI MSNdis_80211_ServiceSetIdentifier Query.jsMD5 Hash: 5FCA2E378A38BB0F0C18CC59A74FA5FF |
||
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20; var arrComputers = new Array("."); for (i = 0; i < arrComputers.length; i++) { WScript.Echo(); WScript.Echo("=========================================="); WScript.Echo("Computer: " + arrComputers[i]); WScript.Echo("=========================================="); var objWMIService = GetObject("winmgmts:\\\\" + arrComputers[i] + "\\root\\WMI"); var colItems = objWMIService.ExecQuery("SELECT * FROM MSNdis_80211_ServiceSetIdentifier", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("Active: " + objItem.Active); WScript.Echo("InstanceName: " + objItem.InstanceName); try { WScript.Echo("Ndis80211SsId: " + (objItem.Ndis80211SsId.toArray()).join(",")); } catch(e) { WScript.Echo("Ndis80211SsId: null"); } } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |