See the following resources for further information about working with SMS, WMI, and scripting with VBScript:

Systems Management Server 2003 SDK

The SMS 2003 SDK documents the WMI classes and other technologies used by SMS. It also documents how they should be used in a variety of languages, including Visual C++, Visual C#, Visual Basic, and VBScript.

Windows Management Instrumentation SDK

The WMI SDK documents how to access and use WMI objects. It has extensive VBScript samples that you will find useful for scripting SMS.

Windows 2000 Scripting Guide

The Windows 2000 Scripting Guide provides a good overview of the technologies required for scripting SMS.

SMS 2003 Documentation

The SMS 2003 documentation includes coverage of SMS objects and how they are manually used by administrators.