Quantcast
Channel: SharePoint Diary
Viewing all articles
Browse latest Browse all 1058

Get All Site Collections Size (Storage Used, Allocated), Owners, Database Details with STSADM

$
0
0
Do you know the STSADM command line tool can do this still in SharePoint 2013? Yes! it can get you the quick peek view of all site collections in the given web application. It gets you details such as:
  • Storage space allocated - Storage used, warning and maximum levels
  • Site collection GUIDs
  • Site collection database names
  • Primary and Secondary Owners
Simply trigger command line and run: 
Stsadm -o EnumSites -url http://Sharepoint-web-app-URL 

This command line retrieves all details as listed above in XML format. Lets export that XML to a file and get it in Excel for better analysis. Run:
Stsadm -o EnumSites -url http://Sharepoint-web-app-URL > SitesInfo.xml 

Once completed, Open the XML file in Microsoft Excel, choose "As an XML Table"
and you should get the table as below:

Viewing all articles
Browse latest Browse all 1058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>