Virtual box
From Federal Burro of Information
resizing a disk under windows:
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd "C:\data\VirtualBox VMs\hardened\hardened.vmdk" "C:\data\VirtualBox VMs\hardened\cloned.vdi" --format vdi "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "C:\data\VirtualBox VMs\hardened\cloned.vdi" --resize 10000 "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd "C:\data\VirtualBox VMs\hardened\cloned.vdi" "C:\data\VirtualBox VMs\hardened\hardened2.vmdk" --format -vmdk