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.
You need to modify the SAM account name of Group1.
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
E
0
0
!!!???
to modify group name : G. Set-AdGroup
0
0
Answer is G
Reference:
https://technet.microsoft.com/en-us/library/ee617225.aspx
0
0
G
https://technet.microsoft.com/en-us/library/ee617199.aspx
0
0
G
https://www.youtube.com/watch?v=NlrFebohjrs
0
0
Set-ADGroup โ Manage group membership, modify the SAM settings
Set-ADComputer โ modify the SAM settings
Set-ADUser โ Modify the SAM settings of a user
Remember these and you won’t screw up ๐
0
0
E and G will both work,but E is much easier
this can be used to rename a bunch of groups at once
Get-QADGroup -Name GLO_TEST_R* | %{Rename-QADObject $_ -newName ($_.name -replace “TEST”,”TST”) | Set-QADGroup -samAccountName ($_.name -replace “TEST”,”TST”)}
Rename-ADObject -Identity “CN=HQ,CN=Sites,CN=Configuration,DC=FABRIKAM,DC=COM” -NewName UnitedKingdomHQ
0
0
a security group named Group1 must exist before you run the command
Remane the SAM name for Group1
Set-ADGroup -Identity Group1 -SamAccountName New_Group1
0
0