HI
I'm doing this:
SSH2.execCommand("vim-cmd vmsvc/power.getstate"& vm, 22)
to send vim-cmd vmsvc/power.getstate
which requires a number at the end for VMID
and I would like to iterate through a list of VMID's, which are not consecutive or in order.
However, sending the variable "vm" is failing as I have it written above. If I do this:
SSH2.execCommand("vim-cmd vmsvc/power.getstate 15", 22)
it of course works and returns the state of VMID 15.
What would be the syntax for this? I have searched here as well as links for ganymede that it's based on, but haven't landed on an answer yet. Is it possible?
Thanks!
Eric
I'm doing this:
SSH2.execCommand("vim-cmd vmsvc/power.getstate"& vm, 22)
to send vim-cmd vmsvc/power.getstate
which requires a number at the end for VMID
and I would like to iterate through a list of VMID's, which are not consecutive or in order.
However, sending the variable "vm" is failing as I have it written above. If I do this:
SSH2.execCommand("vim-cmd vmsvc/power.getstate 15", 22)
it of course works and returns the state of VMID 15.
What would be the syntax for this? I have searched here as well as links for ganymede that it's based on, but haven't landed on an answer yet. Is it possible?
Thanks!
Eric