Friday, January 20, 2012

Take a screenshot of guest VM in VirtualBox

In Windows host, with timestamp in filename:


"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "Windows 7 64" screenshotpng c:\users\user\Desktop\screenshots\win7_%date:~4,10%_%time:~0,2%.%t ime:~3,2%.%time:~6,2%.png