Torgeir
Tue May 03 11:20:22 CDT 2005
hernia wrote:
> Using VBscript how can I disable a network card?
> The net card is configured with a static IP, so I cannot use netsh interface
> set interface...
>
> Thanks in advance
Hi
With VBScript and Shell.Application (Win2k and WinXP), you can
disable/enable the network connection:
From: Michael Harris
Subject: Re: How to disable-Enable Local area Connection via script
Newsgroups: microsoft.public.scripting.vbscript
Date: 2002-03-25 11:36:10 PST
http://groups.google.com/groups?threadm=OcFYOQD1BHA.2848%40tkmsftngp05
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx