VM groups are groups of VMs that you can create as and when required. You can manage and perform functions on them collectively, as well as individually.
The following figure shows VM groups displayed in VirtualBox Manager.
The following features are available for groups:
Create a group using
Drag a VM on top of another VM.
Select multiple VMs and select Group from the right-click menu.
Create and manage a group using the command line. Do one of the following:
Create a group and assign a VM. For example:
VBoxManage modifyvm "vm01" --groups "/TestGroup"
This command creates a group
Detach a VM from the group, and delete the group if empty. For example:
VBoxManage modifyvm "vm01" --groups ""
This command detaches all groups from the VM
Create multiple groups. For example:
VBoxManage modifyvm "vm01" --groups "/TestGroup,/TestGroup2"
This command creates the groups
Create nested groups, having a group hierarchy. For example:
VBoxManage modifyvm "vm01" --groups "/TestGroup/TestGroup2"
This command attaches the VM
Use