Home > Networking Tips > Network Engineering > Top Windows Management Instrumentation (WMI) scripting books, websites
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Top Windows Management Instrumentation (WMI) scripting books, websites


Mitch Tulloch
01.05.2009
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Once you've learned how to write Windows Management Instrumentation (WMI) scripts to manage various aspects of Windows-based networks, check out the resources Mitch Tulloch recommends for your study. In this tip, originally posted on WindowsNetworking.com, Tulloch lists the best books and websites to find more information on managing Windows Networks using scripts.
This article originally appeared on WindowsNetworking.com.

If you've been patiently following along with me through the previous thirteen articles of this Managing Windows networks using scripts tip series, you should have gained some basic confidence in writing WMI scripts to manage various aspects of Windows-based networks. Specifically, you should have learned the following that are essential for successful WMI scripting:

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. But my goal with this series of articles was basically just to get you up and
Read other 'Managing Windows networks using scripts' tips
Part 1: The basics

Part 2: Cleaning up

Part 3: Understanding WMI

Part 4: Using Win32_NetworkAdapterConfiguration

Part 5: Getting over the hump

Part 6: Remote scripting first steps

Part 7: Troubleshooting the mystery error

Part 8: Troubleshooting remote scripting with Network Monitor 3.0

Part 9: Understand remote scripting

Part 10: Two tricks using WMI scripts

Part 11: More remote scripting tips

Part 12: Properties of WMI class

Part 13: A return-all-values script

Part 14: WMI scripting resources
running by showing you some basics.

Now, in this final article, I want to mention some useful resources you can use to learn more about WMI scripting on your own. And as you make progress learning how to script the management of Windows-based networks, do feel free to share what you've learned with me by emailing me as I'd love to hear what you're learning about Windows scripting.

So anyway, let's take a quick look at where you can go from here to learn more about how to script using WMI.

Books
I 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?

Some of my favorite books for learning scripting include the following:

  • Microsoft Windows Scripting Self-Paced Learning Guide by Ed Wilson (Microsoft Press): Ed wrote many of the scripts on the companion DVD included with the Windows Vista Resource Kit so he knows what he's talking about and he makes scripting fun and easy while teaching the basics.
  • Another good book for beginners by Ed is the Microsoft VBScript Step by Step (Microsoft Press), and be sure to check out his latest book Microsoft Windows PowerShell Step By Step (Microsoft Press) if you want to start learning about PowerShell, Microsoft's latest and greatest scripting platform.
  • 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.
  • Finally, O'Reilly Media has a whole series of "cookbooks" that provide quick VBScript solutions to perform basic administrative tasks. One particular favorite of mine is the Active Directory Cookbook by Robbie Allen and Laura E. Hunter, and another I sometimes find useful is the Windows Server Cookbook for Windows Server 2003 and Windows 2000 which is also by Robbie Allen. Just thinking of these great books makes me hungry!
Script Center
The best 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. It can be daunting for newcomers to find their 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 is 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. Of course if you prefer to learn things systematically (or if 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). You can find more up to date information about WMI on MSDN (though be aware that MSDN too is sometimes out of date or contains errors).
  • Tales from the Script (eeek!) has a collection of miscellaneous and often quite funny articles on various scripting topics that are a bit more advanced sometimes and definitely worth a look.
  • Hey, Scripting Guy! has a ton of useful short question and answer articles on various scripting topics, usually at an intermediate level. You can even download the entire archive of Scripting Guy articles so you can read them offline, which is nice. And yes, The Scripting Guys do exist and they are real human beings (in case you were wondering).
  • Scripting Tools and Utilities: Sometimes Notepad just doesn't cut it for writing scripts. You can find tools here that will take some of the pain out of scripting, though an alternative of course is to use Notepad2.
  • Script Center Script Repository: Why write scripts when you can steal (er, borrow) them from the Script Center? The Script Repository contains hundreds and hundreds of scripts you can either use as-is or customize to meet your needs. You can even download the entire repository as a CHM (Help) file so you can browse it offline!
  • System Administration Scripting Virtual Lab: Use this online lab to try out real-world scripting scenarios. This site is great if you feel you're still a beginner and need help getting going.
  • 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 contains 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.
Conclusion
I hope you've enjoyed this series of articles as much as I've enjoyed writing them. I'll visit the topic of scripting again in the future sometime, but for now if you want to learn more, then buy one or two of the books I've listed above and start getting familiar with the Script Center on TechNet. You can get over that hump if you try! Good luck!

About the author:
Mitch Tulloch is a writer, trainer and consultant specializing in Windows server operating systems, IIS administration, network troubleshooting, and security. He is the author of 15 books including the Microsoft Encyclopedia of Networking (Microsoft Press), the Microsoft Encyclopedia of Security (Microsoft Press), Windows Server Hacks (O'Reilly), Windows Server 2003 in a Nutshell (O'Reilly), Windows 2000 Administration in a Nutshell (O'Reilly), and IIS 6 Administration (Osborne/McGraw-Hill). Mitch is based in Winnipeg, Canada, and you can find more information about his books at his website: www.mtit.com.

WindowsNetworking.com contains a wealth of networking information for administrators: Featuring information on how to setup and troubleshoot various networks of any size. Also includes a comprehensive archive of hundreds of reviewed networking software and hardware solutions. Frequently updated with articles and tips by a team of leading authors, it remains a favorite within the networking community.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network Engineering
Desktop virtualization network requirements
Preventing hacker attacks with network behavior analysis IPS
Internal cloud computing on the cheap: Free automated provisioning?
Improved storage performance without adding more disk
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Using tracert and TTL to troubleshoot network connectivity problems
10 Gigabit Ethernet interconnect solutions: Investigate carefully before choosing
Optimization of the data center with 10 Gigabit Ethernet

Working With Servers and Desktops
What network loss testing tools/methods calculate dropped packets from a PC?
Do I have to disable DHCP on my router to create a DHCP server?
How can I replicate the services of Active Directory (AD) in ADC?
Top 10 reasons why computers do not have network access to each other
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Test your TCP/IP protocol stack to troubleshoot network connectivity
Checking IP configuration to troubleshoot Windows network connectivity
Physical network security key to fighting low-tech threats

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
four-way server  (SearchNetworking.com)
mail user agent  (SearchNetworking.com)
netstat  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
Telnet  (SearchNetworking.com)
two-way server  (SearchNetworking.com)
virtual network adapter  (SearchNetworking.com)
virtual network computing  (SearchNetworking.com)
virtual systems management  (SearchNetworking.com)
VxWorks  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts