Search This Blog

Thursday, 5 March 2015

SharePoint Items Security using SharePoint Powershell



We can use following SharePoint PowerShell script to pull all SharePoint items security whether an item is using unique permission or inherited permission. The output will be written in a .csv file “SharepointSitesOutput.csv”


Just copy and paste following code in .ps1 file and execute that file on SharePoint PowerShell commad using commad &<filename.ps1>
 

get-spsite -Limit All|get-spweb -Limit All|Select URL,Title, hasUniquePerm |Export-csv SharepointSitesOutput.csv –NoTypeInformation

1 comment:

  1. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
    Brian

    ReplyDelete