The following command returns an object for the folder ACL
Get-Acl -Path $env:TEMP
The object type is System.Security.AccessControl.DirectorySecurity
MS Docs lists amongst other properties AccessRulesModified and AuditRulesModified. With Get-Members i find the methodes ModifyAccessRule and ModifyAuditRule, but not the mentioned properties:
Get-Acl -Path $env:TEMP | Get-Member -Name '*modify*' -force TypeName: System.Security.AccessControl.DirectorySecurity Name MemberType Definition ---- ---------- ---------- ModifyAccessRule Method bool ModifyAccessRule(System.Security.AccessControl.AccessControlModification modification... ModifyAuditRule Method bool ModifyAuditRule(System.Security.AccessControl.AccessControlModification modification,...
How can i access the missing properties?