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.
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