开发者

SharePoint 2010: creating a site in a sitecollection automatically

I am looking at wa开发者_开发技巧ys of automating creation of sites in a site collection in SharePoint 2010. Actually, for some load/stress test, I need to create around 100 sites in a site collection. I can create a site from the SharePoint admin site. But I wish to create large number of them and possibly using some automation.

Please let me know possible ways.


stsadm.exe is no longer available for Sharepoint 2010

However you use cmdlets: New-SPSite

Like: New-spsite –url http://someWeb/sites/someSite -OwnerAlias domain\username -template STS#0


stsadm.exe is still available in SharePoint 2010.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜