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

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 228891

Trending Articles