Which cmdlet should you run?

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.
The domain contains a user named User1 and a globalsecurity 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?

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.
The domain contains a user named User1 and a globalsecurity 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-AdPrincipalGroupMembership

B.
Install-AddsDomainController

C.
Install WindowsFeature

D.
Install AddsDomain

E.
Rename-AdObject

F.
Set-AdAccountControl

G.
Set-AdGroup

H.
Set-User



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Imi

Imi

Confirmed.

Disable computer1 account: Set-AdAccountControl computer1$ -Enabled $false

biloux

biloux

True
Tested on lab, answer is F
correct syntax :
user account Set-AdAccountControl -identity username -enable $false
comp account Set-AdAccountControl Computer$ -Enable $false
(don’t forget the “$” sign after computer name)