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
3,134 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • 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
      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