Wednesday, July 29, 2015

how to remove Everyone permission for SP site and get SP users in sharepoint powershell

Add-PSSnapin Microsoft.SharePoint.PowerShell
Get-SPUser -web "http://raghu:2015/"


Remove-SPUser "c:0(.s|true" -web "http://raghu:2015/"

No comments:

Post a Comment