Clear-Host $acl = get-acl "D:\Test" $acl.SetAccessRuleProtection($true,$true) #desactiver l'heritage $acl |Set-Acl #Appliquer les droits