Adding Power to Scripts
Reading the registry and echoing the results on the screen are useful tasks. At times, however, you need to perform repetitive operations. Even the most casual observer knows that network administration involves many tasks performed over and over again.
How can you harness the power of Microsoft Visual Basic, Scripting Edition (VBScript) to relieve some of the banality of day-to-day network administration on Microsoft Windows Server 2003? At least six constructs are ideal for the task:
For Each...Next For...Next Do While...Loop Do Until...Loop Do...Loop While...Wend
This chapter begins by examining a real script to see how you can use these powerful tools in your daily duties as a network administrator.
 |