SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a requirement currently to generate all the Sharepoint site in a Web application with the following information: Site URL Site Name Site Collection Administors : ID or name Members in the group named 'owners'

As such, if anyone has a script or a reference please share it. I'd appreciate it.

share|improve this question


Get-SPWebApplication "http://server-name:8080"|Get-SPSite -limit ALL|Get-SPWeb -limit ALL|Select-Object Title,Url,AssociatedOwnerGroup

This will give you Title, Url and the Associated Owner Group for the site... You can than reference the powershell script:
PowerShell Script for SP2010 to pull Farm and Site Collections Administrators

Try merging these two and you can get the results, let me know if you are not able to figure out exact!

share|improve this answer
@ Arsalan Adam Khatri Thanks a lot for the reply, however the requirement is something different. I have be asked to generate an excel report with the following fields. Site URL Site Name Site Collection Administrators Members in the 'owners' group... if you have a script for that, kindly share it... – Palz Apr 26 '13 at 9:32
Finally got the scripts referring the below links:… – Palz May 9 '13 at 9:19
Great, kindly post the complete script as answer and mark it correct.. It may help others! – Arsalan Adam Khatri May 9 '13 at 11:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.