Sitecore PowerShell Extensions provides a great way to create items in bulk.
Here is a simple script.
foreach($index in 1..10) {
$item = New-Item -Path "master:\content\home\sample item$($index)" -ItemType "Sample/Sample Item"
$item.Title = "Auto-generated index $($index)"
}
Check out the Gitbook for SPE herehere for more details.
Pro
- In a few lines of code using the PowerShell syntax and Sitecore API you can do all sorts of things
- Lots of documentation, videos, and people that know the module
Con
- Requires the Sitecore PowerShell Extensions module to be installed within the Sitecore instance
- Requires some familiarity with PowerShell
- Not too difficult to shoot yourself in the foot.
Remove-Item
can wipe out an entire tree.
Update 1
I've created a sample for generating users and items in SPE with the help of Read-Variable
. Check it out here.