Sabtu, 14 Mei 2011

Know about Windows Management Instrumentation


In this article I will brief about Windows Management Instrumentation (WMI), its purposes, how it works, steps to perform WMI operations and what are the benefits of WMI. I have also elaborated the steps of performing WBEMTEST with appropriate images wherever it was required.








Windows Management Instrumentation


Windows Management Instrumentation (WMI) is Windows operating system based technology that is used for retrieving management data from the local or remote machines in an enterprise. It works equally well for both local as well as remote machines. You can write your own programs or scripts to do daily scheduling of management jobs or activities.

WMI can be used for only Window based operating systems like:
  1. Windows 2000
  2. Windows 2003
  3. Windows 2008
  4. Windows Vista
  5. Windows XP SP2


WMI cannot be used for UNIX based operating systems like : UNIX, HP , AIX, Linux, Redhat, Solaris etc.

Purpose of WMI


WMI can be used to retrieve management and operational data from Window based computer systems. It is very useful for automating the administrative tasks involved in large organizations. The information retrieved from WMI scripts or Programs can be feed to other Applications or Products. One of the key features that make WMI very impressive is the fact that it enables you to manage data, get data and operate on remote machines as well.

Things that can be done with WMI


The capability of Windows Management Instrumentation to operate on the remote machine makes it very indispensable utility in anInformation Technology infrastructure.
With the help of WMI utility we can perform following activities on a Window based operating system:

  1. We will be able to Start a new process or program on a remote computer
  2. We can set or schedule the time at which a particular process or program will run or execute
  3. We will be able to reboot a system from other computer
  4. We can retrieve the complete list of applications or programs installed on a local or remote machine
  5. We can fire queries on a local or remote machine to fetch events from Log files


WMI gets information from the classes that are available on a particular system. Windows based computer systems have classes that are based on the Common Information Model (CIM): which is an extensible schema.

Pre-requisites for WMI


To execute WMI scripts on remote system appropriate permissions for the namespaces on that system are required. That means you need to have the administrative credentials of the system on which you want to perform WMI operations. If you do not have appropriate login credential then you will not be able to execute WMI operations. If you do not have enough permissions you will get the following error: " Access Denied"

WMI Utilities and Operations


The utilities provided by WMI platform are as below:
  1. WMIC : It is a command line utility
  2. WBEMTEST: It is Graphical User Interface for performing WMI operations on local and remote servers
  3. WBEMDump : it is also a command line utility available for WMI Interface


Steps to perform WBEMTEST


  1. On the left hand corner of the Windows Machine you can find the Start button 
  2. Click on the "Run" option
    WMI
  3. Type "wbemtest"
  4. Then press Enter and the following dialog box will open
    WbemTest
  5. You can then press on the Connect button as shown in the image below
    WbemTest1
  6. Then the dialog box as shown below will appear, Provide information like Namespace, Username and Password as highlighted in the image below and press enter
    WbemTest2
  7. The following dialog box will appear. You can perform all the tasks listed in the Services Tab on the remote to which you have just connected
    WbemTese3


Benefits of WMI


The benefits of Windows Management Instrumentation can be listed below:

  1. It reduces the overhead of administrative tasks
  2. It automates the administrative tasks
  3. It provides an Interface for DCOM programmers and script writers
  4. It provides the feature to retrieve management data of remote computers


The only disadvantage is that it is available for only Windows based operating systems.

0 komentar:

Posting Komentar

VISITORS

Flag Counter