Wednesday, June 13, 2012

SharePoint: Administrators audit. How to pull all farm and site collections administrators

Finally, get a chance to write something ... in code! not in the paper sketching the meeting, not an email, not a post)

The current client wants to have information on administrators of the farm: Farm Administrators, Site collections administrators.

One of the option, to go and check manually it.

But, we want to have instant report at this moment, who is an admin of what in the SharePoint farm.

I have written a PowerShell script for SharePoint 2010 to pull Farm Administrators and Site Collections Administrators into XML report.

The report looks like this:



You are free to download it from TechNet Script Center Repository