in reply to WMI with Perl

have a look at this
http://www.perl.com/CPAN/modules/index.html