WMI and Hyena

 

Important Note: Hyena’s WMI features are only available in the Enterprise Edition of Hyena. Hyena’s Standard Edition will allow WMI information to be viewed or modified only for the first 30 days after installation. This allows the WMI functionality to be fully evaluated before any additional licenses for it are purchased. For users of the Standard Edition license, the WMI Win32_Process class can be fully managed in order to provide further evaluation of WMI capabilities. For more information on the licensing of the Enterprise Edition, see the Licensing topic.

 

Accessing WMI from Hyena

 

To access WMI functions in Hyena:

When selecting computers in Hyena's right window, multiple computers can be selected; WMI operations will be performed on all selected computers.

 

WMI Queries

 

Hyena allows user-defined queries to be created for any WMI class and user control over the output columns (properties) to be display for the class instances. Conditional 'Where' clauses can also be defined for queries.  Hyena automatically includes several pre-defined queries in several classes.

 

Note: WMI query information is stored in the file named "WMI_QUERIES.DAT", which by default will be copied to the active user's profile directory.  A file with this name will be in Hyena's installation directory, however, this file is automatically copied to the profile directory when Hyena is executed.

 

Executing WMI Queries

 

To execute a WMI query, expand the WMI object for any computer in the left window, then select the desired WMI class.  Double-click the WMI class name to execute the default query assigned to the class (see Default Class Queries below), or expand the WMI class object and then double-click on any query defined for the class.

To change any of the query properties, right click on either the main WMI object or a WMI class and select Execute Query...  See the Query Properties section for more information.

 

WMI queries can also be executed by right clicking on any selected computer(s), and selecting WMI->Execute Query...

 

Default Class Queries

 

One query per class can be assigned to be the 'default' query for that given class.  The default query is executed when the class name is double-clicked in the left window.  To set a default query for a class, see the WMI Query Properties topic.

 

Creating New Queries

 

To create a new query, select Execute Query... from any WMI object, and then click the New... button. Alternately, WMI queries can also be created and managed by selecting File->Manage Object View->WMI Queries.  Enter the name and class of the new query.  Use the Find button to assist in finding WMI class information.

 

See the WMI Query Properties section for information on setting WMI query properties.

 

Aborting a WMI Query - To abort/stop a WMI query, click the Stop button on the toolbar.

 

Working with WMI Instances

 

Results (instances) from a WMI query are displayed in Hyena's right window.  The entire set of properties for an instance can be displayed by either double-clicking on the instance in Hyena's right window, or selecting the instance and selecting Properties from the context menu.  This action will display the WMI Instance Properties dialog.

 

The WMI Instance Properties dialog will display all properties for the selected class and the corresponding values from the selected instance.  If the WMI property is writable, a writable icon will be shown next to the property name.  Double-clicking on the property name or using the Settings button will display the qualifiers for the property.  If the property is writable, the current value can be changed.

 

Updating Instance Properties (Single Instance) - After entering a new value or new values for one or more instance properties, either click OK on the WMI Instance Properties dialog or use the Next / Previous buttons to save the changes to the selected instance.

 

Updating Instance Properties for Multiple Instances - When selecting and displaying the properties for multiple instances, Hyena will show the combined values of all instances for any given property.  If the values are different between any of the instances, Hyena will display Different Values Found... to indicate that the selected instances have differing values for the property.  To modify the value for all selected instances, simply enter a new value and click OK.  Be very careful and certain of your changes when modifying values for multiple instances.

 

Executing WMI Methods

 

WMI Methods can be executed using one of the following techniques:

Supported WMI Methods