Add-PSSnapin -erroraction Silentl圜ontinueįunction GrantUserPermission($domainUserName) If this script helps please set this answer as an answer for your question. Write-Host "Permission provided for group ", $groupName Write-Host $spgroup.Name -ForegroundColor Red $site = new-object (" $web = $site.OpenWeb()įunction GrantGroupPermission($groupName) Add-PSSnapin -erroraction Silentl圜ontinue Please check on test list before using in your productive environment. Just set your site url, the list name and the group name/user name in the respective script. It will go through all of your folders and set the permissions to contribute. ![]() You can iterate through folders and set permissions with this script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |