![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Powershell and WMI: 802.11 Trying to get a list of active access points from the wireless card. The following: gwmi -name "root/wmi" MSNDis_80211_BSSIList | % {$_.Ndis80211BSSIList} doesn't list a set of 'BSSIList object, but rather the obscure 'format-default : Exception retrieving members: "Not found "' I'm guessing that my powershell just doesn't know how to deal with whatever WMI is returning. It looks like I'm getting an array of ManagementBaseObject, and I can't figure any way to use that. rsbohn |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Powershell and WMI: 802.11 What OS are you using. On Vista I get a not supported error in PowerShell and a 0x8004100C error in VBScript -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "rsbohn" wrote: > Trying to get a list of active access points from the wireless card. The > following: > > gwmi -name "root/wmi" MSNDis_80211_BSSIList | % {$_.Ndis80211BSSIList} > > doesn't list a set of 'BSSIList object, but rather the obscure > > 'format-default : Exception retrieving members: "Not found "' > > I'm guessing that my powershell just doesn't know how to deal with whatever > WMI is returning. It looks like I'm getting an array of ManagementBaseObject, > and I can't figure any way to use that. > > rsbohn |
My System Specs![]() |
| | #3 (permalink) |
| Guest | RE: Powershell and WMI: 802.11 This is Windows XP SP2. "RichS" wrote: > What OS are you using. On Vista I get a not supported error in PowerShell > and a 0x8004100C error in VBScript > -- > Richard Siddaway > Please note that all scripts are supplied "as is" and with no warranty > Blog: http://richardsiddaway.spaces.live.com/ > PowerShell User Group: http://www.get-psuguk.org.uk > > > "rsbohn" wrote: > > > Trying to get a list of active access points from the wireless card. The > > following: > > > > gwmi -name "root/wmi" MSNDis_80211_BSSIList | % {$_.Ndis80211BSSIList} > > > > doesn't list a set of 'BSSIList object, but rather the obscure > > > > 'format-default : Exception retrieving members: "Not found "' > > > > I'm guessing that my powershell just doesn't know how to deal with whatever > > WMI is returning. It looks like I'm getting an array of ManagementBaseObject, > > and I can't figure any way to use that. > > > > rsbohn |
My System Specs![]() |
| | #4 (permalink) |
| Guest | RE: Powershell and WMI: 802.11 When I was searching Internet for information on MSNDis_80211_BSSIList there were some references to problems with using it on XP SP2 -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "rsbohn" wrote: > This is Windows XP SP2. > > "RichS" wrote: > > > What OS are you using. On Vista I get a not supported error in PowerShell > > and a 0x8004100C error in VBScript > > -- > > Richard Siddaway > > Please note that all scripts are supplied "as is" and with no warranty > > Blog: http://richardsiddaway.spaces.live.com/ > > PowerShell User Group: http://www.get-psuguk.org.uk > > > > > > "rsbohn" wrote: > > > > > Trying to get a list of active access points from the wireless card. The > > > following: > > > > > > gwmi -name "root/wmi" MSNDis_80211_BSSIList | % {$_.Ndis80211BSSIList} > > > > > > doesn't list a set of 'BSSIList object, but rather the obscure > > > > > > 'format-default : Exception retrieving members: "Not found "' > > > > > > I'm guessing that my powershell just doesn't know how to deal with whatever > > > WMI is returning. It looks like I'm getting an array of ManagementBaseObject, > > > and I can't figure any way to use that. > > > > > > rsbohn |
My System Specs![]() |
| | #5 (permalink) |
| Guest | RE: Powershell and WMI: 802.11 I get the same error. I'm also running WinXP SP2. You should file a bug on connect.microsoft.com -- greetings dreeschkind "rsbohn" wrote: > Trying to get a list of active access points from the wireless card. The > following: > > gwmi -name "root/wmi" MSNDis_80211_BSSIList | % {$_.Ndis80211BSSIList} > > doesn't list a set of 'BSSIList object, but rather the obscure > > 'format-default : Exception retrieving members: "Not found "' > > I'm guessing that my powershell just doesn't know how to deal with whatever > WMI is returning. It looks like I'm getting an array of ManagementBaseObject, > and I can't figure any way to use that. > > rsbohn |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing PowerShell dependent features on W2K8 with PowerShell CTP | Greg Wojan | PowerShell | 14 | 05-16-2008 08:15 AM |
| when run powershell script as windows service ,powershell fail | powershell fail on winodws 2008 | PowerShell | 6 | 01-15-2008 03:20 PM |
| Powershell Plus - Free for non commercial Use and Powershell Analyzer1.0 released | Karl Prosser[MVP] | PowerShell | 2 | 12-12-2007 12:43 PM |
| Automatic PowerShell Error Parsing in PowerShell Analyzer and PowerShellPlus | Karl Prosser[MVP] | PowerShell | 0 | 11-14-2007 02:32 AM |
| PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value | klumsy@xtra.co.nz | PowerShell | 0 | 06-19-2007 02:42 PM |