Installing and Configuring Windows Server 2012 — Question 8
You work as an administrator at Contoso.com. The Contoso.com network consists of a single domain named Contoso.com.
Contoso.com has a domain controller, named ENSUREPASS-DC01, which has Windows Server 2012 R2 installed. Another Contoso.com domain controller, named ENSUREPASS-DC02, has Windows Server 2008 R2 installed.
You have deployed a server, named ENSUREPASS-SR15, on Contoso.coms perimeter network. ENSUREPASSSR15 is running a Server Core Installation of
Windows Server 2012 R2.
You have been instructed to make sure that ENSUREPASS-SR15 is part of the Contoso.com domain.
Which of the following actions should you take?
Answer options
- A. You should consider making use of Set-Computer Windows PowerShell cmdlet on ENSUREPASS-SR15.
- B. You should consider making use of Get-Computer Windows PowerShell cmdlet on ENSUREPASS-SR15.
- C. You should consider making use of Test-Computer Windows PowerShell cmdlet on ENSUREPASS-SR15.
- D. You should consider making use of Add-Computer Windows PowerShell cmdlet on ENSUREPASS-SR15.
Correct answer: D
Explanation
The Add-Computer cmdlet is specifically designed to add a computer to a domain, making option D the correct choice. The Set-Computer cmdlet is used for setting the computer's configuration but does not join it to a domain, while Get-Computer retrieves information about the computer and Test-Computer does not exist in PowerShell, which makes options A, B, and C incorrect.