Author Posts

June 17, 2016 at 2:41 am

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 4:03 am

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

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

Basically i need to add few users in to security properties of the AD Group .

June 17, 2016 at 6:22 am

this should do it:
dsacls (get-ADGroup someexamplegroup).DistinguishedName /G "domain\username:GA"

  • This reply was modified 2 years, 3 months ago by  AK.

June 17, 2016 at 1:40 pm

And as a note, both Cacls and Dsacls are perfectly fine in PowerShell. I use them all the time.