Assigning Unique Permissions to the List and Libraries in SharePoint 2013 using PowerShell
In SharePoint 2013 we will be having requirements to assign unique permissions to a list or library in a site. This we can achieve from the list or Library Settings page Permissions for this list option through UI. Same functionality we can achieve through Powershell script as well which will help us to maintain it as a generic script so that we can use it in the future for the same kind of requirement. Here we are going to generate a generic script which will obtain the parameters like Site URL, List Name, Group Name and Permission level dynamically to assign the unique permission to the respective list. One more script which will get the parameters Site URL, Group Name and Permission Level and loop through all the lists and libraries in the site and assign the provided permission level to the List. Generating the Script: To generate the script we need to open the Windows Powershell ISE and write the Powershell commands to do the actions. Below is the script to assign...