F FreshPrince Diamond Member Dec 6, 2001 8,363 1 0 Nov 16, 2004 #1 how do I write a script to enable or disable a certain network card?
JackMDS Elite Member Super Moderator Oct 25, 1999 29,471 387 126 Nov 16, 2004 #5 You need to disable the Hardware or just to terminate TCP/IP connection? :sun:
BlueWeasel Lifer Jun 2, 2000 15,940 474 126 Nov 17, 2004 #7 I don't know anything about scripting, but I could find something like this very useful, as I've got 2 NIC in my system at the moment.
I don't know anything about scripting, but I could find something like this very useful, as I've got 2 NIC in my system at the moment.
W Woodie Platinum Member Mar 27, 2001 2,747 0 0 Nov 17, 2004 #8 Win XP... Using VBS to call WMI: Primer 1 (with sample code) Real Code...still displaying info From there, it should be pretty easy to use the .Set method to set any of the properties.
Win XP... Using VBS to call WMI: Primer 1 (with sample code) Real Code...still displaying info From there, it should be pretty easy to use the .Set method to set any of the properties.