I have had a large number of people over the past few months ask me about scripting for SMS, so for all of you, there is now a scripting guide available, which includes a number of samples. The guide and samples can be downloaded from:
The blurb for the pack is: "The SMS 2003 Scripting Guide provides over 40 scripts, ranging from tasks such as creating advertisements to running queries. It explains the basics of SMS objects, WMI, and VBScript through a series of 'How To' examples. Each example has extensive and appropriate links to other resources, such as the SMS SDK, the WMI SDK, and the Windows 2000 Scripting Guide"
If you were at MMS 2005, you know that the Script Repository has many more scripts than the Scripting Guys: