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

Re: How to shutdown powered on VMs by reading a CSV file or just off the Cluster

$
0
0

To shut down all the powered on vm's from cluster xyz you can do:

 

Get-Cluster -Name xyz | Get-VM | Where-Object { $_.PowerState -eq "PoweredOn" } |

Shutdown-VMGuest -Confirm:$false


Viewing all articles
Browse latest Browse all 232413

Trending Articles



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