Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

VMINFO.PL: how to list the power state of the VM????

$
0
0

Hello all,

 

I have downloaded and compiled the VMware Infrastructure (VI) Perl Toolkit Packages (Latest Version: 1.5.0 | 1/17/2008 | Build: 67153). I am trying to get the

power state of the VM by executing the below script, but i cant get the output to do so. It simply prints out the help menu instead. When i use the powerstatus as a switch, do i pass anything as a argument? Please, help.

 

vminfo.pl --username XXXX --password XXXX --url XXXX --vmname XXXX --powerstatus ????

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 1860

Trending Articles



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