In SharePoint 2013, Maximum file upload size is increased to 250MB - which means users can upload any single file up to 250MB of size. If users try to upload a file which is larger than the configured web application limit, they receive an error message saying its exceeded the maximum length allowed!
SharePoint 2013 introduced a new feature called "MaximumFileSizePerExtension" to set maximum upload size exclusively for certain file types. Say for e.g. Your web application's default Maximum size for uploading files would be 250MB, But you can add an exception for "WMV" files up to 2GB!
By default, Microsoft One Note files (.ONE) are configured with 1GB size limit. Here are the PowerShell cmdlets to manage this configuration. To view file types set in MaximumFileSizePerExtension property:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue $WebApp = Get-SPWebApplication "http://your-sharepoint-web-app-url" $WebApp.MaximumFileSizePerExtension
This gives currently configured file extensions for maximum file size exclusions. To add a file type extensions, such as WMV, use the following PowerShell cmdlet:
$WebApp = Get-SPWebApplication "http://your-sharepoint-web-app-url" $WebApp.MaximumFileSizePerExtension.Add("wmv",1024) $WebApp.Update()
To remove file extension from Maximum file size:
$WebApp = Get-SPWebApplication "http://your-sharepoint-web-app-url" $WebApp.MaximumFileSizePerExtension.remove("wmv") $WebApp.Update()
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.