Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

reading vm powerstate

$
0
0

Hi together,

 

i have a virtual machine that is "Powered On". This powerstate i wanna read by a vma perl script.

 

i tried the following:

$vmstate = $_->runtime->powerState;

 

As output i get

VirtualMachinePowerState=HASH(0x2022b520)

what i did wrong?

Best regards
Timm

Viewing all articles
Browse latest Browse all 207710

Trending Articles



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