AD Command help Tagged: ACL, cacls, dsacls, get-adgroup This topic contains 6 replies, has 3 voices, and was last updated by Don Jones 5 months, 3 weeks ago. Author Posts June 17, 2016 at 2:41 am #43678 Suresh krishnanParticipant Dear community I need your help , i need to add users in to security (not a member of but in security )in one of the ACL . I am having hard time to find a specific command to do this task . Could some one please help . Thanks June 17, 2016 at 3:49 am #43682 AKParticipant This should help: http://ss64.com/nt/cacls.html June 17, 2016 at 4:03 am #43684 Suresh krishnanParticipant Thanks AK :), is there a PowerShell way of doing this 🙂 I am able to retrieve the permission with this command but now I need to add users to the security group . set-location AD: (get-acl (get-ADGroup someexamplegroup).DistinguishedName).access | ft IdentityReference,AccessControlType,ActiveDirectoryRights -AutoSize June 17, 2016 at 4:16 am #43686 AKParticipant For adding users to a group you'd use add-adgroupmember... What are you trying to accomplish? Could you describe it start to finish? June 17, 2016 at 4:35 am #43688 Suresh krishnanParticipant Basically i need to add few users in to security properties of the AD Group . June 17, 2016 at 6:22 am #43690 AKParticipant this should do it: dsacls (get-ADGroup someexamplegroup).DistinguishedName /G "domain\username:GA" This reply was modified 5 months, 3 weeks ago by AK. June 17, 2016 at 1:40 pm #43712 Don JonesKeymaster And as a note, both Cacls and Dsacls are perfectly fine in PowerShell. I use them all the time. Author Posts You must be logged in to reply to this topic.