AdsiPS
AdsiPS copied to clipboard
Support for ACL
Access can be retrieve using something like: ([ADSI]"LDAP://<DN>").psbase.ObjectSecurity.Access
Maybe having two new cmdlets, something like:
- Set-AdsiAcl
- Get-AdsiAcl
I work to this issue. But when I get the ACL of AD object, I don't have value in Path property :

The Path property is ReadOnly.
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