search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager, Windows Powershell | 2 Comments | 6,050 views | 25/03/2014 16:50

You can get VM list in a VMHostCluster with following command:

1
((Get-SCVMHOST -VMHostCluster $Cluster).Name | foreach { Get-VM -VMHost $_ }).Name

That will output all virtual machine names in that cluster.