The scripting guys continue to impart their magic scripting touch, now with a great big dose of MSH.
Their "Scripting with the Microsoft Shell" Script Center went live recently, and it's already chock-full of sample scripts -- most applying the power of WMI interop.
Their first article covers Accessing WMI From the Microsoft Shell -- check it out!
[Edit: Monad has now been renamed to Windows PowerShell. This script or discussion may require slight adjustments before it applies directly to newer builds.]