WMI scripting how-to. Enough to make you chuck.

Writing WMI Scripts Using the Scriptomatic Utility

How did we manage before this?

Unsuitable for children with small parts.