magritton
6/29/2014 - 12:53 PM

Set the file upload size in sharepoint for the client object model

Set the file upload size in sharepoint for the client object model

$ws = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 50
$ws.Update