--- In [email protected], "ncb41727" <[EMAIL PROTECTED]> wrote:
>
> 
> How would a script look like if I want to test whether my PCMCIA 
> Wireless Network Card in my laptop is enabled (connected) or disabled 

See script just posted (networkAdaptersWMI.powerpro); it allows you to 
enumerate all network adapters, so you can either tell by a particular
adapter's properties or its absence if it's enabled.

> (disconnected) AND prompt me if I want to switch state, ie. enable it 
> if it is disabled and disable it if it is enabled?

Sorry, WMI hardware interfaces are not generally writabel; but see
notes in script.
 



Reply via email to