Comments on: Bulk Delete SharePoint Site Users with PowerShell https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/ Tips on .Net, SQL Server, Sharepoint & AI Sun, 27 Oct 2013 19:35:38 +0000 hourly 1 https://wordpress.org/?v=6.3.5 By: Chris Coulson https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/#comment-38211 Sun, 27 Oct 2013 19:35:38 +0000 http://blogs.visigo.com/chriscoulson/?p=86#comment-38211 In reply to C.

You’ll have to loop through every site collection in the web application and run this logic. If you have multiple web applications you’ll have to loop through them too. This link shows looping through all web applications and site collections:

http://kancharla-sharepoint.blogspot.ca/2013/08/powershell-script-to-get-all-site.html

]]>
By: C https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/#comment-38210 Sat, 26 Oct 2013 21:30:29 +0000 http://blogs.visigo.com/chriscoulson/?p=86#comment-38210 hi, I’m having trouble modifying this for multiple users across multiple site collections.

]]>
By: SPAdam https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/#comment-38156 Tue, 30 Jul 2013 15:22:07 +0000 http://blogs.visigo.com/chriscoulson/?p=86#comment-38156 Thanks! But there are multiple ways to Delete Users from SharePoint Site Collection:

1. You can delete users using SharePoint Web Interface
2. Delete users from SharePoint site using PowerShell (Bulk Delete also possible)
3. Remove users from SharePoint programmatically using C#

Find all possible ways at: http://www.sharepointdiary.com/2013/07/delete-users-from-site-collection-using-powershell.html#ixzz2aXghqIQb

]]>
By: Tim N https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/#comment-1667 Tue, 31 Jan 2012 04:00:49 +0000 http://blogs.visigo.com/chriscoulson/?p=86#comment-1667 How about:

$web.SiteUsers.RemoveCollection($web.SiteUsers)

I recently used this to clear up all of my (unnecessary) site collections ACL’s which was wreaking havoc on the crawler… worked like a charm =)

]]>