Chapter 5. Functions, Objects, Variables, and More


Scripting is, of course, a form of computer programming, and computer programming is all about telling a computer what to do. Before you can start ordering the computer around, though, you need to learn to speak a language that it understands. VBScript is one such language, and in this chapter, I’ll introduce you to the VBScript syntax, or language.

Almost all computer programming languages, including VBScript, have a few things in common:

  • They have built-in commands that tell the computer to perform certain tasks or calculate certain kinds of information.
  • They have a means for tracking ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with O’Reilly online learning.

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