Creating WMI classes
In WMI, a class is an object that describes some aspect of an enterprise. You can use an object to hold information or control an aspect of your enterprise. For example, you can create a WMI object that describes a CD-ROM drive. An object works with a WMI provider to fill the properties of an object. Creating a class means defining the properties that describe that class. You can also define the functions you can call to manipulate the object that the class represents. Each class has key properties. You cannot create an instance of a class with more than 256 keys. To create a new class, proceed as follows:
- Select the Hardware Inventory node in the left window pane.
- Select Edit > Create WMI Class
.
The Create WMI Class dialog box appears. - Enter the desired data into the respective boxes.
- Click OK to create the new class and to close the window.
The newly created class will directly be displayed in the table in the right window pane.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*