A point came up at the UK SharePoint User Group Chrismas drink, about Personal sites and whether they were top level sites i.e they exist as records in the Sites table and are the top level container for all its subwebs, I hadn’t checked this in v3 so a quick check with PowerShell and stsadm confirms that this is still the case as in V2
Assuming http://sps:20488 is where your personal sites are hosted calling stsadm -o enumsites and processing the returned XML in PowerShell gives us
PoSH C:\demo> $output=stsadm -o enumsites -url "http://sps:20488"PoSH C:\demo> $xml=[XML]$outputPoSH C:\demo> $xml.sites.siteUrl : http://sps:20488Owner : CONTOSO\administratorContentDatabase : WSS_Content_11fba01f-f0c4-4a05-a3c3-868499fd31ceStorageUsedMB : 0.6StorageWarningMB : 0StorageMaxMB : 0Url : http://sps:20488/personal/administratorOwner : CONTOSO\administratorContentDatabase : WSS_Content_11fba01f-f0c4-4a05-a3c3-868499fd31ceStorageUsedMB : 0.7StorageWarningMB : 80StorageMaxMB : 100Etc…
Tiding up the output a little
PoSH C:\demo> $xml.sites.site | select url, ownerUrl Owner --- ----- http://sps:20488 CONTOSO\administrator http://sps:20488/personal/administrator CONTOSO\administrator http://sps:20488/personal/brianb CONTOSO\brianb http://sps:20488/personal/jeff CONTOSO\jeff http://sps:20488/personal/mike CONTOSO\mike….
Powered by: newtelligence dasBlog 2.0.7226.0
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Colin Byrne
E-mail