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

Badges
MCSE
Community

Cozumpark Bilisim Portali
Getting VM List in a VMHostCluster on SCVMM 2012 R2 via PowerShell
Posted in Virtual Machine Manager, Windows Powershell | 2 Comments | 4,710 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.


Comments (2)

NeWay Technologies – Weekly Newsletter #88 – March 27, 2014 | NeWay

March 31st, 2014
00:57:36

[…] Getting VM List in a VMHostCluster on SCVMM 2012 R2 via PowerShell – […]


NeWay Technologies – Weekly Newsletter #88 – March 28, 2014 | NeWay

March 31st, 2014
01:00:25

[…] Getting VM List in a VMHostCluster on SCVMM 2012 R2 via PowerShell – […]



Leave a Reply