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

Re: PowerCli Assistance

$
0
0

You would first need to "get" the VM ebfore chekcing the powerstate, and then power on the ones that aren't.

Something like this

 

Get-VM*DC0*|Where-Object {$_.powerstate -eq‘PoweredOff’} |Start-VM|Wait-Tools

 


Viewing all articles
Browse latest Browse all 232631


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