Quantcast
Channel: VMware Communities : All Content - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 482

takeVMScreenshot.pl using vMA 4.0

$
0
0

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?

 

Requirement

ESX(i) 4.0 (must execute against individual ESX(i) host and not vCenter)

vMA 4.0

 

Sample Execution:

 

[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:

 


Viewing all articles
Browse latest Browse all 482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>