Partager via


Scripting Example

The following scripting example uses XML, Windows Script Host, and Microsoft Visual Basic Scripting Edition (VBScript) to create an extensible command-line interface for Network Load Balancing. The code is presented in three sections:

Section Description
Nlb.xml
Contains configuration data in an XML document.
NlbScriptLib.vbs
Contains common functions and constants (VBScript) used by all of the jobs in Nlb.wsf.
Nlb.wsf
A Windows Script Host (WSH) script that defines a number of jobs that can be called from the command line.