I was recently asked to help with a PowerShell script that will extract all user permissions from a SharePoint 2010 Site to a CSV.

Problem:
A SharePoint site went down and we needed to recover it.  Most of the issues are already sorted out but we now need to move all the permissions to a new server.

Solution:
By using PowerShell it is very easy to accomplish this.  I have modified the code provided by CodeDynamics to run through all users and then execute the provided code.  I have also changed the output to append all lines to the CSV.  You will have to provide a site URL and location for the CSV file inside the script. Once you run this it will export all permissions from SharePoint 2010 Site to a CSV file.  You can download the script from the download button at the bottom of this post.

 

Export User Permissions from SharePoint 2010 to CSV - Corvitech

Export User Permissions from SharePoint 2010 to CSV

Tip:
If you are searching for a replacement of the normal SharePoint 2010 PowerShell you can have a look at PowerGui. It is very easy to use and you can also download Add-Ons that support SharePoint 2010.

Thanks for visiting my blog, and I hope you find it easy to extract user permissions from a SharePoint 2010 Site to a CSV file. You can contact me on Skype @ corvitech

Download

References:
http://sp2010userperm.codeplex.com