In addition, since these configuration tasks
can become quite complex, you gain the advantage of scripting
them once, rather than going through every required step each
time you perform the task.
WinSock Windows XP and above Shows Windows Socket (WinSock) information for the current
system. You can also use this context to dump the WinSock
configuration script.
170 CHAPTER 6 WORKING WITH SCRIPTS
The default context is the root context, the NetSH utility itself. You can use specific commands
from this context to perform configuration tasks or access other contexts. The following list describes
the command line arguments, which differ according to the version of Windows that you use and
the networking features you have installed.
add Adds a configuration entry to the list of entries. When working at the root context, you can
add new helper DLLs to the list.
delete Deletes a configuration entry from the list of entries. When working at the root context,
you can remove a helper DLL from the list.
dump Displays a configuration script. The script is quite long, so you??™ll want to use redirection
to store the script to a file.
exec Executes the specified script file.
Pages:
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443