The SMS_TaskSequence_ConditionExpression Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that is the abstract base class for all condition expressions.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_TaskSequence_ConditionExpression : SMS_TaskSequence_ConditionOperand


The SMS_TaskSequence_ConditionExpression class does not define any methods.


The SMS_TaskSequence_ConditionExpression class does not define any properties.


Class qualifiers for this class include:

  • Abstract

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

SMS_TaskSequence_ConditionExpression is the abstract base class for an expression that must evaluate to true, for the task sequence step to be processed. For example, the derived class SMS_TaskSequence_RegistryConditionExpression Server WMI Class defines an expression for the existence of a registry key.

An SMS_TaskSequence_ConditionExpression is stored in a condition's (SMS_TaskSequence_Condition Server WMI Class) Operands array property, which defines the list of condition operands.

In a task sequence step (SMS_TaskSequence_Step Server WMI Class), the condition is defined in the Condition property.

Alternatively, more complex conditions are created by adding a SMS_TaskSequence_ConditionOperator Server WMI Class object to the condition's Operands array property, and by adding expressions and operators to the added SMS_TaskSequence_ConditionOperator Server WMI ClassOperands array.

For more information, see Operating System Deployment Task Sequence Object Model.


Runtime Requirements

Development Requirements

See Also