Your network contains an Active Directory domain named contoso.com. The domain
contains a domain controller named DC5. DC5 has a Server Core Installation of Windows
Server 2012 R2.
You need to uninstall Active Directory from DC5 manually.
Which tool should you use?

A.
The dsamain.exe command
B.
The ntdsutil.exe command
C.
The Remove-ADComputercmdlet
D.
The Remove-WindowsFeaturecmdlet
Explanation:
The Remove-ADComputercmdlet removes an Active Directory computer.
Example: Remove-ADComputer -Identity “FABRIKAM-SRV4”
Remove one particular computer.
References:
http://technet.microsoft.com/en-us/library/ee662310.aspx
http://support.microsoft.com/kb/216498
http://technet.microsoft.com/en-us/library/ee617250.aspx
Uninstall-WindowsFeature
Uninstalls specified Windows Server roles, role services, and features from a computer that is running Windows Server 2012 R2. This cmdlet replaces Remove-WindowsFeature, the cmdlet that was used to uninstall roles, role services, and features in Windows Server 2008 R2.
https://technet.microsoft.com/en-us/library/jj205471(v=wps.630).aspx
Questions state that we need to remove ADDS no computer object from AD
0
0
D is correct if we assume that domain controller demoted first. (Since Uninstall-AddsDomainController is not in the selections)
https://technet.microsoft.com/en-us/library/jj574104.aspx
0
0
In addition to Jony’s correct answer, Remove-WindowsFeature is still an alias of Uninstall-WindowsFeature and can still be used to remove, for example the ADDS role.
Answer is D.
0
0
So the correct answer is D?
0
0
Correct – the correct answer is “D”
0
0
Yup. Remove_ADcomputer would only delete computer object from AD database, but would not demote, and uninstall ADDS services and tools
0
0
This should be Remove=adcomputercmdlet because remove=adcomputercmdelt removes ad computer
0
0
A
0
0
not A. D is the right one
0
0
Correct answer is D. Although the command is now Uninstall-WindowsFeature, it replaced the Remove-WindowsFeature cmdlet, which was used in Windows Server 2008 R2: https://technet.microsoft.com/en-us/library/jj205471(v=wps.630).aspx
0
0
Correct answer is D.
Windows 2012r2
PS C:\Users\root> get-help Remove-WindowsFeature
NAME
Uninstall-WindowsFeature
https://technet.microsoft.com/en-us/library/jj574104.aspx#BKMK_PS
0
0