WMI - Linux client - wmic


WMI is really handy in the case that you are looking for way how to manage your MS Windows servers, but it is not possible to install additional application to your MS Windows servers. Mentioned WMI interface is standard way how to maintain MS Windows servers and it is delivered with OS.

According to this many Enterprise solutions are using WMI interface for integrating of MS Windows servers with central management.

In the case that you are running central management/monitoring/CMDB/ … server on Linux platform. It is possible to use WMI Client application for interconnection and integration with MS Windows servers. In this way it is possible to collect or push data across network from Linux server (in this case WMI client) to MS Windows server (in this case WMI server).

Install WMIC on CentOS

To download WMIC go to: http://pkgs.org/download/wmi
Choose your OS version and follow the instructions.
Or you can follow this steps:

Install Repository

CentOS 6 - 32-bit
[root@Linux-WMI-Client ~]# rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/atomic-release-1.0-19.el6.art.noarch.rpm         # Or latter release

CentOS 6 - 64-bit
[root@Linux-WMI-Client ~]# rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/atomic-release-1.0-19.el6.art.noarch.rpm       # Or latter release

CentOS 5 - 32-bit
[root@Linux-WMI-Client ~]# rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/atomic-release-1.0-19.el5.art.noarch.rpm         # Or latter release

CentOS 5- 64-bit
[root@Linux-WMI-Client ~]# rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/atomic-release-1.0-19.el5.art.noarch.rpm       # Or latter release

Install WMIC from Repositary

[root@Linux-WMI-Client ~]# yum -y install wmi



Syntax: "  wmic -U domain/user%password //host "<query>"   "


Syntax: "   winexe -U domain/user%password //host "<command>"  "


QR Code
QR Code wiki:infrastructure_tools:wmi:wmi-linux_client-wmic (generated for current page)