On 4/17/2011 12:22 PM, beginners-digest-h...@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
#x27;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;
# *
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.000
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-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl
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;
#
pr
?
and how do I get the processid of what has been
started on the remote machine... i know this can do
this via WMI but how do you implement this in perl
like
create(process,something,something,processid(output))
regards
use Win32::OLE;
use File::Copy;
#use Win32::FileOp;
$machinelist = &
From: "Pradeep Goel" <[EMAIL PROTECTED]>
> > Why don't you generate it in HTML then???
>
> I don't have a good idea about that - can you give some pointers for
> this ?
HTML is just text with some markup inside. You can easily generate it
by print statements like
print <<"*END*";
- Original Message -
From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 12:35 AM
Subject: Re: 1) Automated FTP 2) txt to html 3) pstools vs WMI
> From: "Pradeep Goel" <[EMAIL PROTECTED]>
>
Pradeep Goel wrote:
> 2)
> Also if somebody what I can do to make a page html instead of txt or doc - keeping
> up the format ( need not be exact format but it should not just be a messed up one).
> when i rename from .doc to .html or use copy command ( i.e. on windows machine) the
> format goes
er's time for reading 3 mails rather
> then 1 ( I have already mentioned question topics in subject line
> itself ) .
The set of people able to tell you anything about FTP is NOT the same
as the set of people who know how to convert from txt to html which
is again different than
erstand the answer to 3rd one . Do you mean that WMI &
pstools both r not perlish way ? ( not clear ) . I think WMI should be a pure perlish
way ( we naturally need to use files supplied with OS & WMI is also the one) .
There I still many parts of your mail which I am going through like Net
"Pradeep Goel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> - Original Message -
> From: "Janek Schleicher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 24, 2003 2:57 PM
> Subjec
own Perl translation module then we will
help you all we can.
> 3)
> last question could there be any problem ( like ease of modification
> or flexibility related ) if i am using pstools to get remote
> information from win systems instead of WMI scripts.
> The scripts thus reduce
- Original Message -
From: "Janek Schleicher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 2:57 PM
Subject: Re: 1) Automated FTP 2) txt to html 3) pstools vs WMI
> Pradeep Goel wrote at Mon, 24 Mar 2003 11:24:15 +0530:
>
>
stools to get remote information
> from win systems instead of WMI scripts. The scripts thus reduced to a
> total of hardly 4-5 lines instead of longer 2-3 page scripts in WMI. Is
> there any adv of using WMI in place of pstools ?.
And your Perl question is ? (This is a Perl newsgroup).
Sorry, I
cpan, http://search.cpan.org. You might come
across a module that will help you.
>
> 3)
> last question could there be any problem ( like ease of modification or flexibility
> related) if i am using pstools to get remote information from win systems instead of
> WMI scripts.
>
uous words that's all ?.
3)
last question could there be any problem ( like ease of modification or flexibility
related) if i am using pstools to get remote information from win systems instead of
WMI scripts.
The scripts thus reduced to a total of hardly 4-5 lines instead of longer 2-3 page
s
st (E-mail)
Subject: Perl and WMI
I would like to use Perl with WMI on W2K boxes. In particular, I would like
to collect performance counter information. Does anyone know any "good"
resources to start with? The Microsoft stuff is vague, at best.
Thanks in advance,
Jamie
--
To unsu
I would like to use Perl with WMI on W2K boxes. In particular, I would like
to collect performance counter information. Does anyone know any "good"
resources to start with? The Microsoft stuff is vague, at best.
Thanks in advance,
Jamie
--
To unsubscribe, e-mail: [EMAIL PROT
19 matches
Mail list logo