Someone asked a question (on experts-exchange) about how to Enable Permission Inheritance on an Active Directory Object.
Here is what I came up with.
$user = [ADSI]"LDAP://$dn"
During the same thread someone also asked how to do it in the File System.
Check it out… It is very similar.
$acl = Get-Acl $path
set-Acl -aclObject $acl -path $path
This is just another case where relying on .NET framework provides power and consistency.