The other replies might be what you want, but I think you are just interested in exporting the entire VM that you created inside virtualbox and loading it into another virtualbox installed on the new laptop, correct? That is easy. In virtualbox's GUI, File --> Export Appliance.
Originally Posted by hhhlga89
Those files can be imported into virtualbox on the newer PC.
VirtualBox is perfect for this, but any other virtualization technology can accomplish the same thing. For desktop virtualization, VirtualBox is pretty easy. Enjoy.
None of this is done inside the virtual machine and the VM needs to be shutdown during this. If you need a command line way on MS-Windows, use
Just change the $vm into the name and output location desired your VM export. BTW, that command is part of my weekly VM backup method. It works.
"c:/Program Files/Oracle/VirtualBox/VBoxManage.exe" export "$vm" -o "P:/VM-Backups/$vm.ovf"