# Using EntireX on linux to make WMI queries on windows

**URL:** <https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX-DCOM\
**Created:** [May 19, 2006, 10:07pm UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645 "2006-05-19T22:07:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adriano2](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Adriano2](https://techcommunity.softwareag.com/u/Adriano2)\
**Post date:** [May 19, 2006, 10:07pm UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/1 "2006-05-19T22:07:40Z")

</div>

Hi,

Is it possible to use your library to communicate wmi from a linux to a windows?

There are some wbem implementations for linux(java, i think), but they use http as transport, and windows WMI uses DCOM.

Any clue you can give on this?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [May 21, 2006, 12:45am UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/2 "2006-05-21T00:45:37Z")

</div>

I’m not altogether clear on what you are trying to do (I don’t know what WMI is), but:

If you are trying to expose Windows services to another platform, you could use any RPC server on Windows. For example, your Linux application (the “client” in this scenario) would send a request for information via Broker/RPC. An RPC Server would be running on the Windows box. When it receives a request, it would make the necessary DCOM calls to obtain the WMI information and return it to the client.

The RPC Server on Windows can call code written in C, C++, C#/VB.Net. You might also be albe to use RPC from Natural for Windows as it can make DCOM calls also.

---

<div class="post-metadata">

**Author:** ![Adriano2](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Adriano2](https://techcommunity.softwareag.com/u/Adriano2)\
**Post date:** [May 23, 2006, 1:02am UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/3 "2006-05-23T01:02:24Z")

</div>

This is what I mean with WMI: [http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx](http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx)

Its called Windows Management Instrumentation. Its the implementation of the WBEM specification for windows. The open WBEM implementation, that works with java and other operation systems uses HTTP as transport protocol. The microsoft implementation, present on windows machines, uses DCOM/RPC as transport. Since you have DCOM/RPC implemented for linux. Is it possible to use your lib to communicate with a windows machine and access WMI?

---

<div class="post-metadata">

**Author:** ![Adriano2](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Adriano2](https://techcommunity.softwareag.com/u/Adriano2)\
**Post date:** [June 20, 2006, 12:46am UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/4 "2006-06-20T00:46:06Z")

</div>

Any ideias or info about this?

---

<div class="post-metadata">

**Author:** ![Volker\_Denkhaus](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Volker\_Denkhaus](https://techcommunity.softwareag.com/u/Volker_Denkhaus)\
**Post date:** [June 26, 2006, 3:31pm UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/5 "2006-06-26T15:31:59Z")

</div>

Hello,

if there is any component on Windows that uses DCOM for remote access, it is theoretically possible to access it from Linux machines using EntireX DCOM. You must have a DCOM client on Linux that does a CoCreateInstance on the specified object class and Interface.  
So the service on Windows must allow remote access and you must know the CLSIDs and Interfaces to write your client.

Regards,  
Volker Denkhaus

---

<div class="post-metadata">

**Author:** ![guedec](https://avatars.discourse-cdn.com/v4/letter/g/9de053/32.png) [@guedec](https://techcommunity.softwareag.com/u/guedec)\
**Post date:** [September 8, 2006, 10:15pm UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/6 "2006-09-08T22:15:20Z")

</div>

Hi Adriano,

By any chance, have you been able to remotly use WMI from a linux box ?  
Because I looking after that, and so far I’ve got no solutions…

Thanks for your help,  
Guedec

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/using-entirex-on-linux-to-make-wmi-queries-on-windows/59645/7 "2021-04-02T14:39:58Z")

</div>


