Ever run into issues with your VMs where you have some debugging information logged to the console and you want to take a screenshot of it using vSphere API?
ESX(i) 4.0 (must execute against individual ESX(i) host and not vCenter)
[vi-admin@scofield ~]$ ./takeVMScreenshot.pl --server himalaya.primp-industries.com --username root --vmname William-XP Enter password: Initiating screenshot of William-XP ... Successfully capture screenshot from William-XP! Downloading "William-XP-screenshot-0.png" to "vm_screenshots/William-XP-screenshot-0.png" Removing screenshot "William-XP-screenshot-0.png" from ESX(i) host ...
Here is what William-XP-screenshot-0.png looks like: