Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

WMI with Perl

by kidwahoo94 (Novice)
on Mar 07, 2003 at 19:39 UTC ( #241235=perlquestion: print w/replies, xml ) Need Help??
kidwahoo94 has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know where I can find some info on WMI and Perl (modules, manuals, etc.).

Title edit by tye (no single-word titles, please)

Replies are listed 'Best First'.
Re: WMI with Perl
by LD2 (Curate) on Mar 07, 2003 at 19:48 UTC
    here's an example from the ASPN mailing lists:
    #! perl -w use Win32::OLE; $instances = Win32::OLE->GetObject("winmgmts:")->InstancesOf("Win32_Process") or die "Cannot access WMI"; for my $proc (in $instances) { printf "%5d %7d %s\n", $proc->{ProcessId}, $proc->{WorkingSetSize}/1024, $proc->{Name}; }
    haven't tested it to see if it works.

    but as others said.. Google is your friend.
Re: WMI with Perl
by tall_man (Parson) on Mar 07, 2003 at 19:45 UTC
Re: WMI with Perl
by sschneid (Deacon) on Mar 07, 2003 at 19:45 UTC
Re: WMI with Perl
by Enlil (Parson) on Mar 07, 2003 at 19:49 UTC
    Did you try CPAN or the Oracle or this sites super search. All seem to bring back information about WMI, without knowing your purpose, it is hard to more specific.


Re: WMI with Perl
by skki (Initiate) on Mar 07, 2003 at 20:13 UTC
    have a look at this

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://241235]
Approved by jlk
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-22 21:10 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (298 votes). Check out past polls.