Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Windows WMI queries under Linux?

by tokpela (Chaplain)
on Jan 25, 2010 at 16:40 UTC ( #819530=note: print w/replies, xml ) Need Help??

in reply to Windows WMI queries under Linux?

I have not done this for WMI but I have for connecting to a Windows database using ODBC.

You could try to use DBI's dbiproxy script and DBD::WMI.

The dbiproxy script would be running on the Windows box and would also have the DBD::WMI module installed.

The Linux box would make the call using a proxy to the Windows box. The Windows box would execute the WMI query, gather the results and send back to the Linux box.

Replies are listed 'Best First'.
Re^2: Windows WMI queries under Linux?
by mellin (Scribe) on Jan 25, 2010 at 17:14 UTC

    Thanks for the idea. I had something similar on my mind already, but bringing this proxy type of machine in between the server and the Linux box does add to the complexity of the solution, which I'm not too keen on having.

    Then again, if it is the only way to accomplish the end mean, then I guess that's the way it has to go.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://819530]
Discipulus is Corion reading 'Gory details of parsing quoted constructs'?..
[perldigious]: That's awesome erix. One of my work friends, who coincidentally convinced me to learn Perl originally, has a Finnish pen-pal. I showed him this and he immediately wanted to send it along to her.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2016-12-06 16:19 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.