Previous Section Table of Contents Next Section

Appendix Administrator's Quick Script Reference

One of the toughest parts about scripting, at least for administrators, can be figuring out which VBScript command or object to use for a particular purpose. I've created this appendix to help with that problem. If you need to do something in particular with VBScript, but don't know exactly how, this appendix is where you need to be. Look up the task you're trying to perform, and I'll provide you with the specific VBScript statement, function, object, or other element that you need to use. I'll also provide you with a cross-reference to the chapter in this book that covers the particular element. Don't forget that you can also use Google and other Web-based resources to figure out how to perform specific tasks.

I cover some tips for using Google as a scripting resource in Chapter 4. Here's a sample entry:

Files, working with: FileSystemObject (12)

This entry indicates that you can use the FileSystemObject to work with files, and that you can find more information about the FileSystemObject in Chapter 12. I don't provide a chapter for every feature, generally because I don't cover them all in detail. When there's no chapter reference, simply refer to the feature's documentation in the main VBScript documentation. Sometimes, I provide a chapter reference when I've discussed similar features. For example, if you look up "Rounding" in this index you'll find a reference to Chapter 7. I don't specifically discuss rounding in Chapter 7, but I do discuss similar functions. In this index, I provide the name of appropriate VBScript functions-such as Round()-and you can look them up in Microsoft's documentation. The idea is just to give you a pointer to the functions and objects you'll need, so that you don't have to wander aimlessly through the documentation.

I've tried to list each feature with as many descriptions as I could think of. For example, if you're trying to figure out a way to trap or handle errors, you could look for "Trapping," "Handling," or just "Errors" and find what you're looking for.

NOTE

For Windows Management Instrumentation (WMI), I've also provided the name of appropriate WMI classes in italics. That will direct you to the appropriate class reference in the WMI documentation more quickly.


1394: WMI (17-19) Win32_1394Controller, Win32_1394ControllerDevice

    Previous Section Table of Contents Next Section