SMS_TaskSequence_RebootAction Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_TaskSequence_RebootAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that specifies restart options for the target computer.

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

Class SMS_TaskSequence_RebootAction : SMS_TaskSequence_Action
{
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      String Description;
      Boolean Enabled;
      String Message;
      UInt32 MessageTimeout;
      String Name;
      String SupportedEnvironment;
      String Target;
      UInt32 Timeout;
};

Methods

The SMS_TaskSequence_RebootAction class does not define any methods.

Properties

  • Message
    Data type: String

    Access type: Read/Write

    Qualifiers: [AllowedLen("0-512")]

    A user-defined message for display in the reboot dialog box. The message length can be between 0 and 512 characters.

  • MessageTimeout
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [VariableName("SMSRebootTimeout")]

    The number of seconds that a user-defined message is displayed to the user before the computer restarts. Specify 0 seconds (default) to indicate that no reboot message should be displayed.

    The task sequence variable that is associated with this property is SMSRebootTimeout. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.

  • Target
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_Null, CommandLineArg(1)]

    The operating system to use for reboot. Possible values are:

    • HD

    • WinPE

Remarks

Class qualifiers for this class include:

[CommandLine("smsboot.exe /target:%1"),VariablePrefix("SMSReboot"),

ActionCategory("General,6,1"),ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "RebootComputerControl", "TaskSequenceOptionControl"}]

For more information about both the class qualifiers and the property qualifiers 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

Concepts

Operating System Deployment Server WMI Classes
Configuration Manager Operating System Deployment
About Operating System Deployment Task Sequences
How to Create an Operating System Deployment Task Sequence
How to Add a Condition to an Operating System Deployment Task Sequence Step
How to Add an Operating System Deployment Task Sequence Action