| Win32_Condition |
| The Condition class can be used to modify the selection state of any entry in the Feature class, based on a conditional expression. If Condition evaluates to True, the corresponding Level value in the Feature class will be set to the value specified in the Condition class's Level column. Using this mechanism, any feature can be permanently disabled (by setting the Level to 0), set to be always installed (by setting the Level to 1), or set to a different install priority (by setting Level to an intermediate value). The Level may be set based upon any conditional statement, such as a test for platform, operating system, a particular property setting, etc. |
| NameSpace Path |
| \ROOT\CIMV2 |
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| Caption | | String | NA |
| CheckID | | String | An identifier used in conjunction with other keys to uniquely identify the check |
| CheckMode | | Boolean | The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false |
| Condition | | String | A conditional statement which evaluates to TRUE or FALSE to determine whether the Level value should be applied to the associated software feature. |
| Description | | String | A description of the objects. |
| Feature | | String | The name of the feature within the associated product to which this condition applies. |
| Level | | UInt16 | The install level for the associated software feature if condition evaluates to TRUE. |
| Name | | String | The name used to identify this software element |
| SoftwareElementID | | String | This is an identifier for this software element. |
| SoftwareElementState | | UInt16 | The software element state of a software element |
| TargetOperatingSystem | | UInt16 | The target operating system of the this software element. |
| Version | | String | Version should be in the form .. or . |
| SAMPLE DATA INSTANCE |
   Timed out
|