Your network contains an Active Directory forest named contoso.com. The forest contains a single domain. The domain contains two domain controllers named
DC1 and DC2 that run Windows Server 2012 R2.
The domain contains a user named User1 and a global security group named Group1.
User1 logs on to a client computer named Computer1.
You need to disable the computer account of Computer1.
Which cmdlet should you run?
A.
Add AdPrincipalGroupMember.hip
B.
Install -AddsDomainController
C.
Install-WindowsFeature
D.
Install AddsDomain
E.
RonameAdObject
F.
Set-AdAccountControl
G.
Set-AdGroup
H.
Set-User
Explanation:
The Rename-ADObject cmdlet changes the name of an Active Directory object.http://technet.microsoft.com/en-us/library/ee617225.aspx
Correct answer :
Explanation from previous version:
http://www.aiotestking.com/microsoft/which-cmdlet-should-you-run-92/
Set-ADAccountControl -Identity ‘MachineFQDN’ -Enabled $False