开发者

SharePoint 2010: creating a site in a sitecollection automatically

开发者 https://www.devze.com 2023-04-10 05:21 出处:网络
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 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

精彩评论

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