You could probably do it with WMI. See http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp for some ideas. Once you've got something started, try posting to the COM forum.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.