Finaly, WMI appears to be broken (at least in remote mode)
I have try with :
wmic /USER:administrador /PASSWORD:test /node:192.168.8.13 path
Win32_Product get name
and:
wmic /USER:administrador /PASSWORD:test /node:192.168.8.13 path CIM_Product
get name
and, in first case, no records, in secon
---8<-
You know, I seem to remember that it wasn't strict safe (from a long
time ago). Since you think it is, please accept my apologies (Because
you are the expert when it comes to Win32-OLE, and I just use it).
---8<-
You probably meant that Win32::OLE is not _thread_ s
s only
returning one record.
Sorry if I misdirected you with my comments earlier that proved false.
Steven
> -Original Message-
> From: Jan Dubois [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 30, 2007 2:33 PM
> To: Steven Manross; 'StoneBeat';
> perl-win32-users@lists
On Mon, 29 Oct 2007, Steven Manross wrote:
> I don't think Win32::OLE is strict safe.
What makes you think that?
> take out the.
>
> use strict;
>
> I tested it here on my systems, and it returned what I think you are
> looking for (software titles that were installed on the remote system.
A
Hi.
StoneBeat wrote:
>
> D:\UME\tudimelo>perl software.pl remotehost administrador password
> Caption: Producto de sistema informßtico
> Description: Producto de sistema informßtico
> Identifying Number: GB8724JDMK
> Name: ProLiant DL360 G5
> Vendor: HP
> Version:
>
>
> D:\UME\tudimelo>
>
> As yo
I think @ARGV[0] is not a valid contruct. you should use $ARGV[0] instead.
Dietmar
-Ursprüngliche Nachricht-
Von: StoneBeat [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. Oktober 2007 16:55
An: Steven Manross
Cc: perl-win32-users@listserv.activestate.com
Betreff: Re: WMI Problem
Hi
r 29, 2007 8:30 AM
> To: perl-win32-users@listserv.activestate.com
> Subject: WMI Problem
>
>
> Hi, Im triying to execute a remote WMI query with this script:
>
> --
> use strict;
> use warnings;
> use Win32::OLE
ailto:[EMAIL PROTECTED] On Behalf Of
StoneBeat
Sent: Monday, October 29, 2007 8:30 AM
To: perl-win32-users@listserv.activestate.com
Subject: WMI Problem
Hi, Im triying to execute a remote WMI query with this script:
--
Hi, Im triying to execute a remote WMI query with this script:
--
use strict;
use warnings;
use Win32::OLE qw( in );
use Win32::OLE::Variant;
use constant wbemFlagReturnImmediately => 0x10;
use constant wbemFlagForwardOnly => 0x20;
use constant wbemFlagBidirectional => 0x0 ;
$| = 1;
Win32::
-29cf-48a5-b053-624f118998a4.asp
\\Greg
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, December 30, 2005 1:50 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: WMI problem ?
hello list!
I am trying to write Perl
hello list!
I am trying to write Perl
program to get some WMI info remotely
from machines on local network
(workgroup , no domain )
I understand that it is no Perl problem :
but I am stuck with this -
I can't connect to remote machines at all with WMI !
I am using Winxp SP2
I disabled windows fire
11 matches
Mail list logo