Add-PSSnapin "Microsoft.SharePoint.PowerShell"
#testname
$list = (Get-SPWeb "http://spserver/2015/").Lists["testname"]
$list.BreakRoleInheritance($true,$true)
$list.Update()
Showing posts with label BreakRoleInheritance. Show all posts
Showing posts with label BreakRoleInheritance. Show all posts