Your network contains an active directory domain named contoso.com. The domain contains a
domain controller named DCS. DCS has a server core installation of windows server 2012. You need
to uninstall Active Directory from DCS manually. Which tool should you use?

A.
The Remove-WindowsFeature cmdlet
B.
the ntdsutil.exe command
C.
the dsamain.exe command
D.
the Remove-ADComputer cmdlet
Why not D?
0
0
Remove-WindowsFeature cmdlet removes copmputer as a object from AD but it’s not uninstalling AD service from DC. https://technet.microsoft.com/en-us/library/ee617250.aspx
There is no Remove-WindowsFeature cmdlet in Windows Server 2012. It was replaced by Uninstall-WindowsFeature cmdlet https://technet.microsoft.com/en-us/library/ee662310.aspx. Thus the right answer is B.
0
0
– Remove-ADComputer: removes a computer from a domain not removes AD from a computer
– Ntdsutil: removes metadata that remains when you remove AD from a computer
– Remove-WindowsFeature: Exists. May be an alias of Uninstall-WindowsFeature but exists (i tested).
The right answer is A. Tested.
0
0
B is correct:
https://blogs.technet.microsoft.com/canitpro/2016/02/17/step-by-step-removing-a-domain-controller-server-manually/
0
0
agree, I tested also remove-windowsfeature ad-domain-services and it works in svr2012
Correct answer is A.
0
0
Agreed answer is A
If you run help remove-windowsfeature at a PS prompt you will discover that it is an alias for Uninstall-WindowsFeature (see below)
PS C:\> help remove-windowsfeature
NAME
Uninstall-WindowsFeature
SYNTAX
Uninstall-WindowsFeature [-Name] [-Restart] [-IncludeManagementTools] [-Remove] [-ComputerName
] [-Credential ] [-LogPath ] [-WhatIf] [-Confirm] []
Uninstall-WindowsFeature [-Name] [-Vhd ] [-IncludeManagementTools] [-Remove] [-ComputerName
] [-Credential ] [-LogPath ] [-WhatIf] [-Confirm] []
ALIASES
Remove-WindowsFeature
0
0