Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

Palani,

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
1  
Finally got the scripts referring the below links: santoshksp.wordpress.com/2012/10/19/27 techtrainingnotes.blogspot.com/2010/12/… –  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

 
discard

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.