Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 207266

Re: power-on network adapters script

$
0
0

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


Viewing all articles
Browse latest Browse all 207266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>