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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -