VBoxManage is the command-line interface for automated and very detailed control of every aspect of VirtualBox. It is described in Chapter 8, VBoxManage.
VBoxManage sucommand "Machine name" [options]
VBoxManage sucommand UUID [options]
VBoxManage createvm --name "%VMName%" --register
VBoxManage showvminfo "Machine Name"