Challenge. You are asked to get a listing of document libraries in a site where there are email address IDs set against them. Or – you are asked to get a listing of documents in a specific document library and also list who has got READ access to those documents.

Or – you have been asked to get a listing of the total number of documents across an entire Site Collection and Sub-Sites (there are multiple other examples). I have created a utility which will allow you to get information concerning your document libraries from your SharePoint installation without having to manually trawl through them.
GEGETDOCCONFIG is a nifty SharePoint utility to list information concerning document libraries in one or more sites, Displays Size, Validity, Folder, Parent, Author, Minor and Major Version, Modified / Created By, Modified / Created Date, Title, URL, ID Checked Out information, Email Address Setting..
You can also get it to enumerate all documents showing Size, Validity, Folder, Parent, Author, Minor and Major Version, Modified / Created By, Modified / Created Date, Title, URL, ID. Plus check out data like, Checked Out By, When Checked In, Comments, Checked Out, Expires, Status.

Not only that, but you can also get a listing of the security applied to the relevant document libraries, filtering by Read, Edit, Full Control, Designer, Approver and any role permissions. Even SharePoint groups having set roles against them will have their members also displayed.

Note that this tool is for SharePoint 2013 On-Premise only. The Office 365 version is being created and will soon be released.

You want to know how many files are in your document libraries over a site collection

You want to find out the email addresses set against your document libraries

You want to know who created document libraries and when

You want to see the sizes of files in the document library and other audit information

You want to get the size of your sites and document libraries

You want to get information concerning site creation and document library management in one place

So – this is a Free Tool right?

Yes, its definitely free, however, please donate !

Why write it?

Absolutely loads of reasons – key ones surrounding audit trail for document libraries, so much data to gather and in numerous places – it needs automation!

Example 4
GEGetDocConfig -u http://mysharepoint -d MySharedDocs -a
This will display information INCLUDING all the files in the MySharedDocs document library in the mysharepoint site.

Example 5
GEGetDocConfig -u http://mysharepoint -e
This will display information from document libraries in site http://mysharepoint which have Incoming emails set against them.

Example 6
GEGetDocConfig -f AllSites.txt
This will display information about all document libraries in all sites to the text file AllSites.TXT

Example 7
GEGetDocConfig -o RD -F AllSites.txt
This will display information and READ access security roles for all document libraries in all sites to the text file AllSites.TXT

Example 8
GEGetDocConfig -o XX -f Allsites.txt
This will display information and security ignoring roles for all document libraries in all sites to the text file AllSites.TXT

Example 9
GEGetDocConfig -o XX -a -f Allsites.txt
Same as example 8, but list all documents in all document libraries in all sites and output the list to allsites.txt. Note you should not run this for large SharePoint instances!

Whats the catch Geoff – how much does it cost?

Nothing – Nada – Zip – Nowt. In short, this tool is free, however, like all of my SharePoint tools please donate if you find the tool useful – many thanks in advance!