The SMS_TaskSequence_Step Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager. This class serves as an abstract base class representing a single step in a task sequence.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_Step { SMS_TaskSequence_Condition Condition; Boolean ContinueOnError; String Description; Boolean Enabled; String Name; }; |
Methods
The SMS_TaskSequence_Step class does not define any methods.
Properties
- Condition
- Data type: SMS_TaskSequence_ConditionAccess type: Read/WriteQualifiers: NoneOptional. An SMS_TaskSequence_Condition Server WMI Class object representing a condition that can be used to determine if the step should be processed.
- ContinueOnError
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue to continue the task sequence even if the step fails.
- Description
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]Optional. The description of the step. The description length can be between 0 and 255 characters.
- Enabled
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the step should be run. Set this property to false to ignore the step completely.
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]The name of the step. The name length can be between 1 and 100 characters.
Remarks
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.
Each step in the task sequence is one of the following:
- An individual action that is run on a computer, represented by
a SMS_TaskSequence_Action
Server WMI Class or derived class. For example, the SMS_TaskSequence_InstallSoftwareAction
Server WMI Class class represents an action that specifies a
package and a program to install as part of a task sequence.
- A set of actions in a group, represented by SMS_TaskSequence_Group
Server WMI Class. Groups are useful ways to organize actions.
For example, to conditionally process a set of actions, you could
organize the actions into a group and add a condition to the
group.
Each step can be associated with a condition, represented by SMS_TaskSequence_Condition Server WMI Class that determines whether the step is processed.
For more information, see Operating System Deployment Task Sequence Object Model.
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 Enumerate the Steps in an Operating System Deployment Task SequenceHow to Add a Step to an Operating System Deployment Group
Reference
SMS_TaskSequence Server WMI ClassSMS_TaskSequence_Action Server WMI Class
SMS_TaskSequence_Condition Server WMI Class
SMS_TaskSequence_Group Server WMI Class
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.