To analyze content disk space in SharePoint you could go through the trials of finding the Quota (if it is configured), finding the content database location, and examining the database. That will absolutely work, but what if you want to do it faster, and get some more valuable information?
Introducing WinDirStat! Well, this isn’t its first introduction; we also wrote about how to use this WinDirFul tool in the past. If you are unfamiliar with this tool, feel free to read that blog first, or watch the Amazing Joe Bohac give a spectacular visual walkthrough.
Try these steps out.
- You are going to want to map your site as a network drive. To map a Network Drive:
- Open ‘My computer‘
- Unfocus any selected drives and then click ‘Map Network Drive‘
- Select the drive letter that you want to use
- Under ‘Folder‘, enter the URL to the SharePoint library, ie. ‘http://www.mysite.com/Shared Documents’ (Please Note that you do not include the page name, ie. allitems.aspx, or the drive will fail to map properly)
- Click Finish.
- Notice in the screenshot below, you will need to specify you credentials for the site, and either use the folder as http(s) or \\networkpath.
- If you want the drive to appear permanently on your workstation, choose ‘Reconnect at logon’
2. Once that is completed, open WinDirStat (or any disk analysis tool) and select drive you just mapped.
3. Click ‘OK’ and let it do its PacMan thing! When it is finished, you will have a very detailed page of File Structure, Top Content Types by Size used, and a Graphical Representation of the space used and count of the file types.
4. Want to do one better? How about managing these file directly within this tool? If you see a file that is taking a large amount of space and you are sure it is not needed, you can delete it. Play around with this tool. You can click on the file types to highlight all of them in the bottom pane, or click any individual block in the bottom frame, or even by browsing the File Tree. It’s fairly robust, and powerful. Be careful though… With great power comes great responsibility. If you fully delete a file, it is gone for good.
There you have it. While these instructions are covering some of the basic things you can do with this tool, there are more reasons to use this for management of your site. We will leave that to all you wonderful SharePoint Admins to determine your best uses though.