VirtualBox is my best friend for my Ansible testing and I need to re-create VMs all the time this is how
cd C:\Program Files\Oracle\VirtualBoxVBoxManage clonevm s201 --name="s201c1" --snapshot s1 --options=keepallmacs,Link --registerVBoxManage clonevm s202 --name="s202c1" --snapshot s1 --options=keepallmacs,Link --registerVBoxManage clonevm s203 --name="s203c1" --snapshot s1 --options=keepallmacs,Link --registerVBoxManage clonevm w204 --name="w204c1" --snapshot s1 --options=keepallmacs,Link --registerVBoxManage startvm s201c1 --type headlessVBoxManage startvm s202c1 --type headlessVBoxManage startvm s203c1 --type headlessVBoxManage startvm w204c1 --type headless
that’s all