Using Hyper-V VM groups
Hyper-V VM groups allow you to group VMs for automation. There are two types of VM groups you can create, VMCollectionType
and ManagementCollectionType
:
- A
VMCollectionType
VM group contains VMs - A
ManagementCollectionType
VM group containsVMCollectionType
VM groups
With VM groups, you could have two VMCollectionType
VM groups, SQLAccVMG
(which contains the SQLAcct1
, SQLAcct2
, and SQLAcct3
VMs) and SQLMfgVMG
, which contains the SQLMfg1
and SQLMfg2
VMs. You could then create a ManagementCollectionType
VM group, VM-All
, containing the two VMCollectionType
VM groups.
The VM groups feature feels incomplete. For example, there are no -VMGroup
parameters on any of the Hyper-V cmdlets enabling you to configure a VM group, and having two types of groups seems over the top. The feature could be useful for very large VM hosts running hundreds of VMs, if only from an organizational perspective, but all in all, this feature could be improved...