Monthly Archives: October 2012

How To: Get a list of site owners for all SharePoint sites

Here is something you may need to verify your users have the access they require: a PowerShell script which will run through all of the site collections and webs and display the list of site owners (people who belong to a Owner group).

Something like this:

Basically you save the code below as a ps1 script and run it in SharePoint Management Shell.
If the output is too long, pipe it to file by using >> c:\output.txt in the command line calling the script.


function IterateSubSites ([Microsoft.SharePoint.SPWeb]$subSite)
{
if ($subSite -ne $null)
{
if($subSite.Webs -ne $null)
{
foreach($subsites in $subSite.Webs)
{
IterateSubSites($subsites)
}
}
}
}

$webApplicationURL = "http://localhost"
$webApp = Get-SPWebApplication $webApplicationURL

foreach($site in $webApp.Sites)
{
foreach($subWeb in $site.AllWebs)
{
Write-Host $subWeb.Url
foreach($group in $subWeb.Groups)
{
if($group.Name -like "*Owners*")
{
Write-Host "Owner(s): "
foreach($user in $group.Users)
{Write-Host $user.Name "; "; }
}
}
if($subWeb.IsRootWeb -ne $true)
{
IterateSubSites($subWeb)
}
$subWeb.Dispose()
}
$site.Dispose()
}

 

http://www.sharemuch.com/2012/10/16/how-to-get-a-list-of-site-owners-for-all-sharepoint-sites/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+YaroslavPentsarskyysDevelopmentBlog+%28Yaroslav+Pentsarskyy%27s+Development+Blog%29

Google’s data centers: an inside look

Very few people have stepped inside Google’s data centers, and for good reason: our first priority is the privacy and security of your data, and we go to great lengths to protect it, keeping our sites under close guard. While we’ve shared many of ourdesigns and best practices, and we’ve been publishing our efficiency data since 2008, only a small set of employees have access to the server floor itself. 

Today, for the first time, you can see inside our data centers and pay them a virtual visit. On 
Where the Internet lives, our new site featuring beautiful photographs by
Connie Zhou
, you’ll get a never-before-seen look at the technology, the people and the places that keep Google running. 


 

 


In addition, you can now explore our Lenoir, NC data center at your own pace in Street View. Walk in the front door, head up the stairs, turn right at the ping-pong table and head down the hall to the data center floor. Or take a stroll around theexterior of the facility to see our energy-efficient cooling infrastructure. You can also watch a video tour to learn more about what you’re viewing in Street View and see some of our equipment in action.



Finally, we invited author and WIRED reporter 
Steven Levy to talk to the architects of our infrastructure and get an unprecedented look at its inner workings. His new story is an exploration of the history and evolution of our infrastructure, with a first-time-ever report from the floor of a Google data center. 

Fourteen years ago, back when Google was a student research project, Larry and Sergey powered their new search engine using a few cheap, off-the-shelf servers stacked in 
creative ways. We’ve grown a bit since then, and we hope you enjoy this glimpse at what we’ve built. In the coming days we’ll share a series of posts on theGoogle Green Blog
 that explore some of the photographs in more detail, so stay tuned for more!

 

http://googleblog.blogspot.com.au/2012/10/googles-data-centers-inside-look.html