Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Extracting WQL "count" results

by Moron (Curate)
on Jul 05, 2006 at 15:06 UTC ( #559360=note: print w/replies, xml ) Need Help??


in reply to Extracting WQL "count" results

It is unclear to me from the OP what the DBMS is, where the server lives and why WMI is necessary to access it. Is there any reason for not using DBI?

-M

Free your mind

Replies are listed 'Best First'.
Re^2: Extracting WQL "count" results
by john_oshea (Priest) on Jul 05, 2006 at 17:20 UTC

    I'm guessing the SMS in 'SMS database' refers to Microsoft's Systems Management Server. While based on SQL Server, it appears that accessing the underlying tables without going through the 'official channels is somewhat frowned upon:

    You should never attempt to obtain SMS data by directly accessing the SQL Server tables on the SMS site database system. Always access SMS data through the SMS Provider, using the appropriate WMI libraries distributed with the WBEM SDK or on the SMS 2.0 CD.
      Unfortunately if forced into WMI, this would mean the problem is most unlikely to be resolvable within the scope of Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2023-12-10 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?