delete – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson Tips on .Net, SQL Server, Sharepoint & AI Wed, 16 Nov 2011 14:00:20 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.5 https://blogs.visigo.com/chriscoulson/wp-content/uploads/2011/02/chris_profile-150x150.jpg delete – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson 32 32 Bulk Delete SharePoint Site Users with PowerShell https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/ https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/#comments Wed, 16 Nov 2011 14:00:20 +0000 http://blogs.visigo.com/chriscoulson/?p=86 Below is a PowerShell script for deleting a filtered list of users from a SharePoint site. Simply copy the script to a .ps1 file, adjust the $SITEURL to the url of the site and adjust the $USERNAMEFILTER to a lowercase string that is contained in all of the usernames you would like to delete. The script is based on a combination of the scripts from: http://blogs.msdn.com/b/vijgang/archive/2009/04/

Source

]]>
https://blogs.visigo.com/chriscoulson/bulk-delete-sharepoint-site-users-with-powershell/feed/ 4