Links to my WSH-related material. Currently being rebuilt, but the Mini-FAQ is here.
An FAQ I put together in late 2001/early 2002. It is aging and incomplete, and but still has useful information.
Newer, specific questions I have begun adding recently.
A handful of my favorite scripts which I have written or significantly modified from other sources.
Unusual ways of accomplishing scripting objectives.
Being able to parse itself is a critical test of a "mature" scripting language. VBScript has no such intrinsic ability, but there are methods to do some of this with the Script Control. Unfortunately, the information exposed by the Script Control is minimal; one may add code to an MSScriptControl object, but other than counting modules, counting procedures, and listing procedure names, argument counts, and whether or not they return data, the capabilities are limited.
This page shows some explorations I have made into using VBScript to parse VBScript; it is doable, and a few of the components and scripts I have linked here may be helpful.
This is a bit of a misnomer since it is not truly fundamental nor is is implemented as a set of classes. It is a collection of wrapper functions I have written over time to allow me to do rapid administrative scripting, and as such may be useful to admin scripters. Experienced scripters will notice that they are patently NOT optimized for anything but ease of use (they're intended as "plug and play" procedures), but they work quite adequately. If any are used thousands of times in a time-critical task, it is probably a good idea to move object bindings out to global declarations.
A few custom components I've written, free for download.
Components built from other people's code which is free to reuse.
Very rough.
This is built from the ActiveX Documenter source code. It is a minor modification which allows drag-and-drop library extraction.
Current bug: it does not work for libraries in paths with embedded spaces.
If you consider yourself a power scripter, you want this. This is a local copy.
Again, if you consider yourself a power scripter, you want NEED this. Picture an ultralight, fast Object Browser that
In fact, Mark Pryor's website is generally a good stopping point for anyone interested in power scripting.
A direct link since these can be hard to find on the Microsoft site.
Torgeir Bakken posts some really great scripts in the microsoft.public newsgroups. Here are some I've started collecting so I don't have to Google them out every time I want them.