AdsiPS icon indicating copy to clipboard operation
AdsiPS copied to clipboard

Support for ACL

Open lazywinadmin opened this issue 8 years ago • 2 comments

Access can be retrieve using something like: ([ADSI]"LDAP://<DN>").psbase.ObjectSecurity.Access

Maybe having two new cmdlets, something like:

  • Set-AdsiAcl
  • Get-AdsiAcl

lazywinadmin avatar Mar 08 '17 20:03 lazywinadmin

I work to this issue. But when I get the ACL of AD object, I don't have value in Path property : image

The Path property is ReadOnly.

NicolasBn avatar Oct 08 '19 10:10 NicolasBn

Could this help ? Looks like some people wrote similar code

  • https://github.com/zloeber/PSAD/blob/master/src/public/Get-DSObjectACL.ps1
  • https://github.com/edemilliere/ADSI/blob/master/Grant-ADPermission.ps1

lazywinadmin avatar Oct 08 '19 17:10 lazywinadmin