Your network contains an Active Directory domain named contoso.com. The domain contains two domain
controllers. The domain controllers are configured as shown in the following table.
You install a new server named Server1 that runs a Server Core Installation of Windows Server 2012.
You need to join Server1 to the contoso.com domain.
The solution must minimize administrative effort.
What should you use?
A.
the dsadd.exe command
B.
the New-ADComputercmdlet
C.
the djoin.exe command
D.
the Add-Computer cmdlet
Explanation:
A: Adds specific types of objects to the directory B: Creates a new Active Directory computer.
C: Use djoin for offline join in the perimeter network . D: Add the local computer to a domain or workgroup.
http://technet.microsoft.com/en-us/library/ee617245.aspx http://technet.microsoft.com/en-us/library/ff793312
(v=ws.10).aspx http://technet.microsoft.com/en-us/library/cc753708(v=ws.10).aspx http://technet.microsoft.
com/en-us/library/hh849798.aspx
The Add-Computer cmdlet adds the local computer or remote computers to a domain or workgroup, or moves them from one domain to another. It also creates a domain account if the computer is added to the domain without an account.
https://technet.microsoft.com/en-us/library/hh849798.aspx
why not dsadd.exe ?
Tested in Lab from a workgroup W8 VM:
Add-Computer -DomainName adatum.com
And the computer object was created in AD.
Answer is D.
…But it seems the original question was “_In the perimeter network_, you install a new server named Server1…”, implying Server1 has no connection to the DC from the DMZ/permimeter network, hence the need to use djoin for an Offline Domain Join…
djoin is for offline perimeter joining. If the question was asking for perimeter joining it would be C. In this wording it would be D since it does not state that it is in a perimeter network.