Forum Discussion

luvsql's avatar
luvsql
Iron Contributor
Jul 22, 2021

How to find files over certain limit in SharePoint Library with hundreds of folders

It's not possible to add the file size to the library column as I would have to open every possible folder and our hierarchy is crazy.  We are not at our limit, however, I know that many users are uploading large attachments and not overriding with newer versions so we are using way more than we need.

 

I know storage metrics shows total size, however, we still have to spend hours opening every single folder > subfolder > subfolder > subfolder then back etc.  


I checked the Audit Log Search but there isn't anything for Search.  We do not use OneDrive client for this library as there are too many files to support it.

 

There must be a way?

15 Replies

  • luvsql 
    Have you considered using PowerShell scripts to harvest the information of interest? e.g. get a complete list of all documents and their properties in a document library.
    Another option is to look for a reporting tool. There are apps that provide this capability (e.g. https://www.slimapplications.com/wp-content/uploads/2020/07/Encrypted-Documents.jpg) plus more. For example, find encrypted documents, checked-out documents, documents with versions consuming storage space, ...
    Paul

    • luvsql's avatar
      luvsql
      Iron Contributor

      Thank you all for the suggestions.  I shall try them out.  My experience with Powershell is copying and pasting existing scripts so not sure I could figure out how to do that.

  • Hi luvsql 

    You could also create a new View within the library, Save All Items as File Size.

    Then edit the properties of this new view to be as follows

    • Columns
      • Tick to display File Size
    • Sort
      • First sort by the column , change to File Size
      • Choose : Show items in descending order
    • Folders
      • Show all items without folders

     

    This view will then show your biggest files at the top of the list.

    To show files over a certain size, you would have to add a calculated column I think.

     

  • Hi Mercedes,

    In Site Settings > Storage Metrics you can see the size of each library and clicking through to folders to see where large folders are.

Resources