VMware {code} Community
Noman0118
Contributor
Contributor

VMINFO.PL: Powerstatus of the VM?

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!

Tags (3)
0 Kudos
2 Replies
admin
Immortal
Immortal

You may have more look posting the "Management APIs" forum, which includes discussions about the VI Perl Toolkit (although, technically I think some moderator is supposed to move your post instead of you reposting).

0 Kudos
Noman0118
Contributor
Contributor

Thanks, then this thread should be moved to "Management APIs" forum. Moderator please move this to the requested forum.

0 Kudos