|
By now if you've been patiently following along with me through the previous thirteen articles in this series, you should have gained some basic confidence in writing WMI scripts to manage various aspects of Windows-based networks. Obviously though we're just getting started learning to script. There's tons more you can do with WMI and I could go on writing articles like these until hell freezes over (or perhaps until earth warms due to global warming, that is, depending on your take on the subject). But my goal with this series of articles was basically just to get you up and running by showing you some basics, and now in this final article I want to mention some useful resources you can use to learn more about WMI scripting on your own. So anyway, let's take a quick look at where you can go from here to learn more about how to script using WMI.
BooksI like learning from books because you can carry them anywhere, read them on the bus, write in the margins, use highlighters and so on. Of course you can do all that with a slate-format Tablet PC with PDF Annotator installed if your book has a CD-ROM inside the back cover that includes the full book content in PDF form (as most titles from Microsoft Press have). But forking over $3000 for a Tablet PC is a bit more than spending $50 on a book, right? Anyway, some of my favorite books for learning scripting include the following: Advanced VBScript for Microsoft Windows Administrators by Don Jones and Jeffrey Hicks (Microsoft Press) is an excellent book that gets into a ton of advanced scripting topics including ADSI and LDAP scripting, database scripting, WMI events, using WMI tools, and scripting Exchange Server, Virtual Server and other Windows Server applications. The book goes beyond simple VBScript scripting and looks at how to package script jobs into WSF files using XML to make them more usable and repurposable (and better code). Don Jones also wrote the scripts in the Microsoft Windows Administrator's Automation Toolkit (Microsoft Press) that was included as part of the Windows Server 2003 Resource Kit (Microsoft Press, and that title (and the whole Resource Kit) are must-haves also for Windows administrators. Another book Don wrote is Managing Windows with VBScript and WMI (Addison-Wesley) and that's another useful title to add to your bookshelf.
Script CenterTHE place to go on the Web to learn more about Windows scripting in all its various forms is the Script Center on Microsoft TechNet. The only trouble with this site is there's too much there to absorb and it can be daunting for newcomers to find there way around its various resources and learn what they need (or learn what they need to learn). So let me point out a few highlights specifically related to WMI scripting using VBScript: Sesame Script. A series of witty introductory articles covering scripting basics such as loops and decisions, data types, working with strings and dates, subroutines and functions, and other stuff. Great for filling in the gaps if you don't have any prior computer programming experience (alas poor Fortran, I knew him well). Of course if you prefer to learn things systematically (or you have no sense of humor) you can always read the VBScript Primer and WMI Primer from start to finish (good luck) but be aware that some aspects of WMI have changed since the WMI Primer was written (circa Windows 2000) and you can find more up to date information about WMI on MSDN (though MSDN too is sometimes out of date or contains errors—oh well). Tales from the Script (eeek!). Miscellaneous and often quite funny articles on various scripting topics, a bit more advanced sometimes and definitely worth a look (boo!). Scripting Tools and Utilities. Sometimes Notepad just doesn't cut it for writing scripts, and you can find tools here that will take some of the pain out of scripting, though an alternative of course is to use Notepad2. Community-Submitted Scripts Center. Have you written a script that you'd like to share with others? You can do so (and read what others have shared) at the Community-Submitted Scripts Center. Get involved today! Dr. Scripto's Fun Zone. Crossword puzzles, scripting games, comic strips—everything you need to lighten up, release stress and get into learning mode so you can learn to script. |