WMI

WMI

am 16.04.2011 15:00:52 von Mike Flannigan

I used to run this script and it worked fine.
Now is gives error
Can't locate WMI.pm in @INC . . .

Sure enough the module is gone and I can't find it
in ActiveState ppm.

Anybody know what happened to this module?
I Googled and couldn't find the answer.


_________________________________________________


#!C:/perl/bin/perl

use strict;
use WMI;

open STDOUT, ">services.txt" or die "Cannot open services.txt: $!";

my $WMI = WMI->new("localhost");
$WMI->getServices();
close STDOUT;
# ************************************************
print "All done.\n";

__END__



Mike Flannigan



--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: WMI

am 16.04.2011 16:09:52 von Alan Haggai Alavi

Hello Mike,

> Sure enough the module is gone and I can't find it
> in ActiveState ppm.

It is not found in CPAN either.

Regards,
Alan Haggai Alavi.
--
The difference makes the difference

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: WMI

am 16.04.2011 16:55:03 von Shawn H Corey

On 11-04-16 10:09 AM, Alan Haggai Alavi wrote:
> Hello Mike,
>
>> Sure enough the module is gone and I can't find it
>> in ActiveState ppm.
>
> It is not found in CPAN either.
>
> Regards,
> Alan Haggai Alavi.

But DBD::WMI is: http://search.cpan.org/~corion/DBD-WMI-0.06/lib/DBD/WMI.pm


--
Just my 0.00000002 million dollars worth,
Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software: Fail early & often.

Eliminate software piracy: use only FLOSS.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: WMI

am 16.04.2011 17:13:18 von John Mason Jr

On 4/16/2011 9:00 AM, Mike Flannigan wrote:
>
> I used to run this script and it worked fine.
> Now is gives error
> Can't locate WMI.pm in @INC . . .
>
> Sure enough the module is gone and I can't find it
> in ActiveState ppm.
>
> Anybody know what happened to this module?
> I Googled and couldn't find the answer.
>
>
> _________________________________________________
>
>
> #!C:/perl/bin/perl
>
> use strict;
> use WMI;
>
> open STDOUT, ">services.txt" or die "Cannot open services.txt: $!";
>
> my $WMI = WMI->new("localhost");
> $WMI->getServices();
> close STDOUT;
> # ************************************************
> print "All done.\n";
>
> __END__
>
>
>
> Mike Flannigan
>
>
>
Based on

http://support.microsoft.com/kb/320046
and
http://support.microsoft.com/kb/320047

Looks like it was park of win2k resource kit


John

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: WMI

am 18.04.2011 03:38:56 von Mike Flannigan

--------------070003010107090700040902
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit



On 4/17/2011 12:22 PM, beginners-digest-help@perl.org wrote:
>
>
>
>
>
> Based on
>
> http://support.microsoft.com/kb/320046
> and
> http://support.microsoft.com/kb/320047
>
> Looks like it was park of win2k resource kit
>
>
> John


Thanks to all who responded to my WMI module
query.


Mike


--------------070003010107090700040902--