Sven Groot wrote:Is there any way to programmatically disable and re-enable a NIC, the way it is done when you select Disable in Control Panel/Network Connections?I've been looking around Win32 and WMI but can't seem to find a way to do it.
Sven Groot wrote:Jan, I think that method will work, thanks for that.Blowdart, if you read the page, it explicitly says WMI has no method for doing what I want.
blowdart wrote: Sven Groot wrote: Jan, I think that method will work, thanks for that.Blowdart, if you read the page, it explicitly says WMI has no method for doing what I want. And then gives you Win32, which you had talked about I didn't realise you wanted "pure" wmi
Sven Groot wrote: Jan, I think that method will work, thanks for that.Blowdart, if you read the page, it explicitly says WMI has no method for doing what I want.
EricZhong wrote:http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_frm/thread/9f82ef9e7bb12ff3/2b3fab1141c6c93e#2b3fab1141c6c93egoogle it
footballism wrote:Sven, when you finish with it, please share your code with us.