Share via


SMS_TaskSequence_RebootAction Server WMI Class

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

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.

Syntax

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

  • Condition
    Data type: SMS_TaskSequence_Condition

    Access type: Read/Write

    Qualifiers: None

    See SMS_TaskSequence_Action Server WMI Class.

  • ContinueOnError
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    See SMS_TaskSequence_Action Server WMI Class.

  • Description
    Data type: String

    Access type: Read/Write

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

    See SMS_TaskSequence_Action Server WMI Class.

  • Enabled
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    See SMS_TaskSequence_Action Server WMI Class.

  • 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.

  • Name
    Data type: String

    Access type: Read/Write

    Qualifiers: [AllowedLen("1-100")]

    See SMS_TaskSequence_Action Server WMI Class.

  • SupportedEnvironment
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_Null:ToInstance]

    See SMS_TaskSequence_Action Server WMI Class.

  • 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

  • Timeout
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    See SMS_TaskSequence_Action Server WMI Class.

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

Operating System Deployment Server WMI Classes