PrepAway - Latest Free Exam Questions & Answers

Which tool should you use?

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?

PrepAway - Latest Free Exam Questions & Answers

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

16 Comments on “Which tool should you use?

  1. tom says:

    Can anyone explain how this is?
    The explanation in the answer is throwing me off.

    The Remove-ADComputercmdlet removes an Active Directory computer.
    Example: Remove-ADComputer -Identity “FABRIKAM-SRV4”
    Remove one particular computer.

    This to me says that it removes an AD computer. The question asks to uninstall Active Directory from DC5 manually.

    Removing the computer won’t uninstall the role?
    (I understand that remove-windowsfeature is w2k8, and has been replaced with uninstall-windowsfeature)




    0



    0
  2. Rif says:

    PS C:\Users\Administrator> 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

    REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
    — To download and install Help files for the module that includes this cmdlet, use Update-Help.




    0



    0
  3. billkom says:

    c can be correct

    Key: You need to uninstall Active Directory from DC5 manually

    My assumption would be that the server that hosts the Domain Controller role has failed and netiher of the following commands can be run as the server does exits, it failed
    Uninstall-addsdomaincontroller
    Uninstall-windowsfeature

    So regardless of the method used to clean the failed DC from AD (likely NTDSUTIL), the last step would be to remove the computer account from AD




    0



    0
  4. IT Man says:

    IT’S DEFINITELY A
    I tested in my lab.
    when you use remove windows feature cmdlet in W2012, it automatically switches to uninstall-windowsfeature and starts uninstalling without any problem.(it just shows a note that it states “cmdlet uninstall-windowsfeature at command pipline postion 1” which you specify the the role that you want to unistall




    0



    1

Leave a Reply