Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Is there any way to capture sreenshot of the current VM state by using pysphere?

$
0
0

Good day mates,

 

There's the need to make screenshots of the VM in situations when operating system is not loaded yet. The Virtual machine is type Shared. And I can surely press "VM -> CaptureScreen" through GUI of VMWare Workstation 10.0.4, but is it possible if i use the API call? I am coding with the help of pysphere - this is the implementation of VIX API, though VIVirtualMachine interface does not seem to have captureScreenImage method. Therefore, I tried to get the screenshots with the help of vmrun - but there's the thing - it apparently requires VMWareTools to be installed(and it is also impossible to captureScreen without guest user account and guest user password being given - hinting on the fact this feature is linked to rather OS_account than bare VM) , and the tools are only installed for supported OSes.

 

Do I need to look for better VIX API ports? (C++?)

Is there a proper way to code the captureScreen exactly like it is done through GUI? 


Viewing all articles
Browse latest Browse all 231085

Trending Articles



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