-
Book Overview & Buying
-
Table Of Contents
Windows Server Automation with PowerShell Cookbook - Fourth Edition
By :
Hyper-V VM groups allow you to group VMs for automation. There are two types of VM groups you can create, VMCollectionType and ManagementCollectionType:
VMCollectionType VM group contains VMsManagementCollectionType VM group contains VMCollectionType VM groupsWith 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...