Hey all...I want to try to use a script that allows nontechnical /
locked down users to know what wireless network they are connected to.
Problem is sometimes a machine cant connect to an intended preffered
wireless access point and the machine connects to some neighboring
open point and the client doesnt notice until something goes wrong. Is
that possible?

RE: script to view connected wireless network? by Murugappan

Murugappan
Wed Oct 17 09:02:05 PDT 2007

Hi,

This will print all the network adapters including your wireless adapters.
Just filter out by adding IF's inside For loop


'Script Start

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery ("Select * from
Win32_NetworkAdapter",,48)

For Each objItem in colItems

WScript.Echo "Name: " & objItem.Name

Next

WScript.Quit

'Script End

Murugappan.
http://orangescripts.blogspot.com



"sumGirl" wrote:

> Hey all...I want to try to use a script that allows nontechnical /
> locked down users to know what wireless network they are connected to.
> Problem is sometimes a machine cant connect to an intended preffered
> wireless access point and the machine connects to some neighboring
> open point and the client doesnt notice until something goes wrong. Is
> that possible?
>
>