The cluster nodes must be part of a Microsoft Active Directory domain before you can create a cluster. You can perform this task by using the Add-Computer cmdlet.
Note: Connecting to Active Directory Domain Services by using the host management network might require routing to the Active Directory network. Ensure that all the hosts in the S2D cluster can communicate with Domain Services before proceeding to join the domain.
$credential = Get-Credential
Add-Computer -DomainName S2dlab.local -Credential $credential -Restart
Note: This command induces an automatic restart at the end of the domain join operation. Run the command on each host that will be part of the S2D cluster.
Note: Optionally, you might want to add all newly created computer objects from the HCI cluster deployment to a different Organizational Unit (OU) in the Active Directory domain. In this case, you can use the -OUPath parameter along with the Add-Computer cmdlet.