July 20, 2014

List one or all sites on a farm with information concerning size, storage, bandwith, owner, optionally including a switch for displaying those with a specific right on the sites. An enhancement upgrade to the nifty utility GEGETRIGHTS, this is yet another nifty application and FREE! Works with Sharepoint 2013 and SharePoint 2010.

This outputs to a Text or XML or Html file (you choose!).

Does it cost me anything?

No, it’s free. However, it would be nice for you to donate? Click the Donate button below!

How do I use it?

Download the 2013 or 2010 version from Codeplex here: GELISTALLSITES
What does GEListAllSites do?

GELISTALLSITES [-u URL of site to check] [-o [rights]] [-[f/x/w] NameOFOutPutFile]

Scenario. You need to be able to show the changes of ownership on sites and also to show sites listed on a daily basis. You also need to know when the site was lastly updated, its size and more information.

Another Scenario. You want to know the changes in security on a particular site or group of sites in a site collection

Another Scenario. You want to display in a Sharepoint Site the list of sites on that portal in HTML, and also to show the same information in XML in Excel for auditing purposes.

Download the utility and pop it into its own directory. You MUST have administrative access to the sharepoint farm when running this utility, or the account that runs it must have Administrative access.


Run the utility any of the following examples or combination:

Example 1:


This will display information from all sites in all web apps on the farm showing those who have full control on those sites.

-o [rights]:

FC for Full Control, HC = Content Heirachy, CN = Contributor, DE = Designer, AP = Approve

Example 2:

GELISTALLSITES -u http://mysharepoint site -o FC

This will display information from only the mysharepoint site showing those who have full control on that site.

Example 3:


This will display information about all the mysharepoint site but not showing any permission information.

Example 4:




This will display information about all the sites to the text file AllSites.TXT in x=XML, f=Text, w=HTML format

You can use the -f / -x / -w switch with any of the above switches

What does the output look like?

Here’s an example output (TEXT FORMAT) checking against one sub-site and looking at full control owners only:

GELISTALLSITES by Geoff Evelyn, Version 2.0, April 2013, geoff@geoffevelyn.com, http://geoffevelyn.com

Restrict to users and groups having FULL CONTROL rights

Only URL http://win-66i6br3l5ph:9970/getest will be checked

Capture Started at:08/04/2013 at 10:16 (UTC)

Site Collection Name: getest

Site Collection URL: http://win-66i6br3l5ph:9970

Site Collection Storage Usage: 4340kb (4mb or 0gb)

Site Collection Storage Quota: NO QUOTA LIMIT SET

Site Collection Content Database: SEARCH_CONTENT1_DB

Site Collection Creator: i:0#.w|corp\asiteadmin

Site Collection Bandwidth: 0

Site Collection Hits: 0

Site Collection Visits: 0

Site Collection Content Last Updated: 07/04/2013 at 17/55 (UTC)

Site Collection Security Last Modified: 07/04/2013 at 17/53 (UTC)

Number of Sub-sites in Site Collection: 1

Sub-Site 1 of 1, Name:getest

Sub-Site URL: http://win-66i6br3l5ph:9970/getest

Sub-Site Creator: SHAREPOINT\system

Sub-Site Created: 07/04/2013

Sub-Site Unique Permissions Set: YES

Sub-Site ID: 5c823b5b-07ac-4fa0-b6fe-ef46d6e8c2c0

Sub-Site Language: 1033

Sub-Site Search Enabled: NO

Sub-Site Quick Launch Enabled: YES

Sub-Site Tree View Enabled: NO

Sub-Site Current User Is Site Administrator: YES

Sub-Site Current User Is Web Administrator: YES

Sub-Site Assigned Template: STS

Sub-Site Content Last Updated: 07/04/2013 at 17/53 (UTC)

FULL CONTROL Group:GETEST Owners, Members:

Username: Rob Cason, User Alias: i:0#.w|corp\rob.cason Email:

Username: Rob Walters, User Alias: i:0#.w|corp\rob.walters Email:

Username: System Account, User Alias: SHAREPOINT\system Email:

GELISTALLSITES Capture Completed at:08/04/2013 at 10:16


You May Also Like…