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
- Condition
- Data type: SMS_TaskSequence_ConditionAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- ContinueOnError
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Description
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Action Server WMI Class.
- DomainName
- Data type: StringAccess type: Read/WriteQualifiers: [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: StringAccess type: Read/WriteQualifiers: [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: StringAccess type: Read/WriteQualifiers: [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: StringAccess type: Read/WriteQualifiers: [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 Operating System Deployment Task Sequence Variables.DomainUserName may be required to disjoin from the computer's domain.
- Enabled
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
- SkipReboot
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue to skip reboot after the network join action is complete.
- SupportedEnvironment
- Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]See SMS_TaskSequence_Action Server WMI Class.The default value of this property for this task sequence action is FullOS.
- Timeout
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Type
- Data type: UInt32Access type: Read/WriteQualifiers:
[not_null, VariableName("OSDJoinType")]The type of network join
action required of the target computer. Possible values are:
0
Domain
1
Workgroup
- WorkgroupName
- Data type: StringAccess type: Read/WriteQualifiers: [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.