I am cloning VMs on ESX server from template. Simplified code looks like this:
Workflow Create-VM { $List = 1..500 foreach -parallel ($Elem in $List) {
Just wanted to add this detail, ThrottleLimit switch mentioned above is available in Powershell v4.0, its not available in v3.0. We have a mix of 2.0 and 3.0 servers