Chapter 1. Starting from Scratch

After completing this chapter, you will be able to:

  • Read from the registry to obtain configuration information

  • Use Option Explicit to identify typing and spelling errors

  • Declare variables to identify which variables you intend to use

  • Use basic error handling to control execution of a script

  • Identify the four parts of a script

  • Produce output from your script for documentation purposes

  • Run scripts in six different ways

In this chapter, you begin your journey down the winding road that leads to the automation of Microsoft Windows Server 2003, Windows XP, and Windows Vista. Your first step will be to examine several scripts written in Microsoft Visual Basic, Scripting Edition (VBScript). On the next part of your journey, you’ll ...

Get Microsoft® VBScript Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.