Re: Wmi Queries
Sushil <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Krishna, I am not sure but i think you would need to build WMI Mapper if its not built already. (Try to use mkmapper.bat file found in %PEGASUS_HOME%/src/WMIMapper folder) To start the process for WMI Mapper, you would need to start WMIServer.exe process which would be present in %PEGASUS_HOME%/bin folder. Also you can install it as a service using WMIServer.exe -install. Once this process is started you can use simple cimcli commands to enumerate WMI classes. Regards, Sushil On Mon, Sep 13, 2010 at 12:09 PM, KRISHNA priya <[email protected] > wrote: > > > You need to use WMIMapper. > It allows WMI data and objects to be accessed from a Windows or Linux > client with Pegasus. > > http://pegasus-wmi-mapper.software.informer.com/ > > http://www.hp.com/wwsolutions/misc/hpsim-helpfiles/mxhelp/mxportal/en/admin_protocols_setting_WMIMapperProxyAdd.html > > You can't interface directly between WBEM services and WMI, because WBEM > services use a XML text based interface of http, while WMI is a binary > interface using COM through the C++ virtual function table and RPC. > > Kirk Augustin > 11821 NW McNamee Rd > Portland, OR 97231 > > > ------------------------------ > **Thanks Kirk > > I'm using pegasus 2.8.2. I think that when we install pegasus, the > mapper along will be installed with pegasus. Because I had the folder > G:\pegasus\src\WMIMapper > > > In the command prompt I type like this. > G:\pegasus\bin> wmiop enumerateinstancenames pg_operatingsystem > > But it shows the result as:-'wmiop' is not recognized as an internal or > external command, > operable program or batch file. > > > I want to know how to use this mapper. where to give the query. What I have > to do. >