powershell - SharePoint 2010 - Performance (New-SPWeb $Url).ApplyWebTemplate("{GUID}#MyCustomTemplate") -
i want create new spwebs custom template.
$web = new-spweb $url $web.applywebtemplate("{guid}#mycustomtemplate")
my problem creation 1 spweb custom template takes 40 s on vm. there other , faster way create spwebs custom template?
why not use -template parameter. example,
new-spweb -url $url -template "{guid}#mycustomtemplate"
i did not have custom template use took 2 seconds on system.
Comments
Post a Comment