I would use PowerCLI to do this, you should be able to find example scripts online.
Scott is exactly right. You can do this with a 1-liner in PowerCli:
Get-Vm | Get-NetworkAdapter | Set-NetworkAdapter -StartConnected $true -confirm:$false
Note: This will set ALL adapters on ALL machines to this setting - you'll have to modify the filter to suit your needs.