The SMS_TaskSequence_WMIConditionExpression Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a condition expression to check for the existence of results of a WMI query.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_WMIConditionExpression : SMS_TaskSequence_ConditionExpression { String Namespace; String Query; }; |
Methods
The SMS_TaskSequence_WMIConditionExpression class does not define any methods.
Properties
- Namespace
- Data type: StringAccess type: Read/WriteQualifiers: [Not_Null]Namespace for the query.
- Query
- Data type: StringAccess type: Read/WriteQualifiers: [Not_Null, AllowedLen("1-16384")]The WQL query for the condition expression. The length is between 1 and 16,384 characters.
Remarks
The query result set is the results that satisfy the condition. For example, if you need to identify if a computer has at least one NTFS partition, you would use the following query:
Copy Code | |
---|---|
Select * from win32_logicaldisk where FileSystem=’NTFS’ |
There are no class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers that are included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Tasks
How to Create an Operating System Deployment Task SequenceHow to Add a Condition to an Operating System Deployment Task Sequence Step
Other Resources
Operating System Deployment Server WMI ClassesConfiguration Manager Operating System Deployment
About Operating System Deployment Task Sequences
Send comments about this topic to Microsoft.