$siteurl = "sharepoint.cherry.net"

$mysite=new-object Microsoft.SharePoint.SPSite($siteurl)
$mysite.WebApplication.WebService.CoauthoringMaxAuthors = 10
$mysite.WebApplication.WebService.Update()