Maximum file size per extension in SharePoint 2013
July 30, 2012 1 Comment
This article applies to SharePoint 2013 preview (Buildversion: 15.0.4128.1014)
As most of you know, you are able to set the maximum upload size in SharePoint 2010 and SharePoint 2013 in the General settings for each Web Application.
The default maximum upload size for SharePoint 2013 is 250MB.
Maximum file size per file extension
A new cool feature that I really like in the preview is the possibility to add exceptions for certain file types.
By default, the .one extension has a maximum upload size of 1024MB (1GB)
Now what if we want to add another exception. Let’s say I want to allow .wmv files up to 1GB as well.
We can use PowerShell to add this extension. So far, I have not found a GUI interface to do the same:
|
$WebApp = Get-SPWebApplication "http://portal.sharepointrelated.com" |
To see all current maximum file sizes per extension:
|
$WebApp = Get-SPWebApplication "http://portal.sharepointrelated.com" |
Removing a maximum file size for an extension
| $WebApp.MaximumFileSizePerExtension.Remove("wmv") $WebApp.Update() |
This will remove the wmv again, so the maximum allowed upload size for .wmv files will be 250MB again.


Pingback: Maximum file size per extension in SharePoint 2013 « SharePoint ... | SharePoint 2013 | Scoop.it