SMS_TaskSequence_JoinDomainWorkgroupAction 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_JoinDomainWorkgroupAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that joins a Windows domain or a Windows workgroup.

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

Class SMS_TaskSequence_JoinDomainWorkgroupAction : SMS_TaskSequence_Action
{
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      String Description;
      String DomainName;
      String DomainOUName;
      String DomainPassword;
      String DomainUsername;
      Boolean Enabled;
      String Name;
      Boolean SkipReboot;
      String SupportedEnvironment;
      UInt32 Timeout;
      UInt32 Type;
      String WorkgroupName;
};

Methods

The SMS_TaskSequence_JoinDomainWorkgroupAction class does not define any methods.

Properties

  • DomainName
    Data type: String

    Access type: Read/Write

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

    Name of the domain for the target computer. The name length can be between 1 and 255 characters. Set this property if the Type property is set to 0.

  • DomainOUName
    Data type: String

    Access type: Read/Write

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

    The name of the Active Directory organizational unit (OU) to join. The name length can be between 0 and 32767 characters. Set this property if the Type property is set to 0.

  • DomainPassword
    Data type: String

    Access type: Read/Write

    Qualifiers: [VariableName("OSDJoinPassword"), Secret]

    Password of the account specified by DomainUsername. Set this property if the Type property is set to 0.

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

    DomainPassword might be required to disjoin from the computer's domain.

  • DomainUsername
    Data type: String

    Access type: Read/Write

    Qualifiers: [VariableName("OSDJoinAccount")]

    Account that should be used by the target computer to join a Windows domain, with appropriate domain join rights. Set this property if the Type property is set to 0.

    The task sequence variable associated with this property is OSDJoinAccount. For more information, see https://go.microsoft.com/fwlink/?LinkId=100711.

    DomainUserName may be required to disjoin from the computer's domain.

  • SkipReboot
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true to skip reboot after the network join action is complete.

  • SupportedEnvironment
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_Null:ToInstance]

    See SMS_TaskSequence_Action Server WMI Class.

    The default value of this property for this task sequence action is FullOS.

  • Type
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [not_null, VariableName("OSDJoinType")]

    The type of network join action required of the target computer. Possible values are:

    0

    Domain

    1

    Workgroup

    The task sequence variable associated with this property is OSDJoinType. For more information, see https://go.microsoft.com/fwlink/?LinkId=100711.

  • WorkgroupName
    Data type: String

    Access type: Read/Write

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

    Name of the workgroup to join. The name length can be between 1 and 32 characters. Set this property if the Type property is set to 1.

Remarks

Class qualifiers for this class include:

[CommandLine("osdjoin.exe /type:%%OSDJoinType%%"), VariablePrefix("OSDJoin"),

ActionCategory{"General,4,1"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "JoinDomainControl", "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
SMS_TaskSequence_Action Server WMI Class
About Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
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