Hello!
How can i break inheritance of subfolders? I can do it with the document library but not with the folders.
I have this script. And its not working.
Add-PSSnapin microsoft.sharepoint.powershell
$spWeb = Get-Spweb http://spteszt
$listname = "Folder1"
$list = $spweb.lists.folders[$listname]
$list.BreakRoleInheritance($true,$true)
$list.update()
How can i reach the folder level?
And the bonus question: How can i change user permission?
I Hate Mondays