I see.
The following can set the Connected and StartConnected tickbox.
Get-VM|Get-NetworkAdapter|
where {!$_.ConnectionState.StartConnected} |
Set-NetworkAdapter-Connected:$true-StartConnected:$true-Confirm:$false
You should of course further specify which VMs need to be changed by adapting the Get-VM or by inserting a Where-clause