--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> 
wrote:
>
> --- In [email protected], "ncb41727" <ncb@> 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.
>

I'm really very sorry for not responding till now. I have just now 
discovered your script. Thank you for your effort. I will give your 
script a spin.
Earlier this week I decided to take the easy way (instead of the 
sofisticated) and I have been finetuning a script based on devcon.exe 
as suggested by mockey.
Thanks again.
Niels



Reply via email to