Hello,
I try to modify inheritance from powershell.
This is what i try to use:
$listname = "elso"
$list = $spweb.lists[$listname]
$list.Breakroleinheritance($true)
So i have a list (elso) created but when i run this code the inheritance is not broken. I can still see the stop parent inheritance button.
What is missing?
Will the .breakeroleinheritance($false) enable it again?
I Hate Mondays