[EMAIL PROTECTED] wrote:
> Have a 2k box with 4 nic cards.  I want only one 'hot'
> at any time.  Any idea how you could enable/disable these
> cards from within perl?  I'm looking in my wmi browser
> at Win32_NetworkAdapter, Win32_NetworkAdapterConfiguration,
> ...  This tree seems endless.  Has someone done this before, disabled a nic?
>

Hello,

it seems, that there is no useable method in the WMI (state: W2K SP4).
But there was a thread about another solution in vbs (use it or port it :-)

http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=ePbnhboACHA.1648%40tkmsftngp02&rn
um=6&prev=/groups%3Fq%3Ddisabling%2Bnic%2Bscript%2Bwindows%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF
-8%26selm%3DePbnhboACHA.1648%2540tkmsftngp02%26rnum%3D6

regards
Michael

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to