Changes

Talk:Enable/disable NetBIOS over TCP/IP

1 byte added, 08:46, 15 September 2011
change the error in the js
} else if (argv.Exists("default")){
ACTION = DEFAULT;
} else if (argv.Exists("help") or || (argv.Exists("?"))) {
showUsage();
exit(0);
for ( var items=new Enumerator(nics); !items.atEnd(); items.moveNext() ) {
//intNetBT = nic.SetTCPIPNetBIOS(DISABLED) ;
var nic=itemitems.item();
// WScript.Echo("Before Nic NetBIOS: " + item.TcpipNetbiosOptions);
nic.SetTcpipNetbios(ACTION);