1

I am looking at ways 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.

Kangkan
  • 15,267
  • 10
  • 70
  • 113

2 Answers2

1

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

rudolf_franek
  • 1,795
  • 3
  • 28
  • 41
0

stsadm.exe is still available in SharePoint 2010.

V.B
  • 1,191
  • 7
  • 29
  • 55