PowerShell to Reset Unique Permissions (Inherit Permissions) on a List/Library

This script will reset unique permissions on a list or library as well as all the items in the list/library.  It uses the ResetRoleInheritance() method on the list and list items to inherit permissions from the parent.  The script takes three (3) arguments: Web URL (string) Li

 
 
 
 
 
4.9 Star
(8)
3,345 times
Add to favorites
SharePoint
7/11/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • No unique permissions, but still limited access message?
    1 Posts | Last post August 10, 2017
    • I ran the script and added a ForEach to iterate through all the lists and I just wanted to see the results rather than make changes.  It reported no unique permissions throughout, but yet I see the limited access message.  Anyone?
  • Reset Unique Permissions for Website?
    2 Posts | Last post May 08, 2017
    • Your script is indeed very useful, thank you!
      Is it possible, to change the permissions for the whole website in a similar way?
    • Never mind, I just found the script I was searching for. 
      Thank you anyway!
  • folder item
    1 Posts | Last post July 23, 2015
    • Hi, I have Library Document with diferent folders. I need fix Inherit permissions on one specific folder. Can do with this script? 
  • Handy Script- Thank you
    1 Posts | Last post May 06, 2015
    • Used the script today.  Very useful.  Definitely saved me time.
  • Should this work without any changes for HTTPS sites?
    2 Posts | Last post March 11, 2015
    • I keep getting the following error even though I copy and paste the URL:
      Get-SPWeb : Cannot find an SPWeb object with Id or Url : https://blabla.blabla.org/sites/eip/HEIP and site Url https://blabla.blabla.o
      rg/sites/eip.
      HEIP is the subsite containing the library I want to change, and All_individual_foldersAG is the library name. I am signed onto the server as an admin and running the SP PowerShell as an admin. This is the command I am running: Restore-Inheritance.ps1 "https://blabla.blabla.org/sites/eip/HEIP" "All_individual_foldersAG" true 
    • Yes
  • Thanks for the contribution
    1 Posts | Last post March 11, 2015