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 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?

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



Leave a Reply 2

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


t

t

Set-ADAccountControl -Identity ‘MachineFQDN’ -Enabled $False