VMware Cloud Community
kumargel
Contributor
Contributor

Command line option for VM Infrastucture client 2.5

Hi,

I am using the ESX server 3.0 in a machine and have VM Infrastructure client 2.5 installed in my local windows machine. I was wondering if there is any command line support/interface which i can use. I want to do the following.

1. Login to ESX server via VMI Client, giving user name and password through command line

2.Save the snapshot of VM machine/ Revert the sanpshot of VM using command line.

Can anyone help me out on this please?

Reply
0 Kudos
2 Replies
divintas
Enthusiast
Enthusiast

There is no VI Client command line skripting. You need to use the VI 2.5 API with the help of ....

VIPerlToolkit -> i would suggest

Programming API -> to much for this...

or connect to the service console with ssh and use commands like vmware-cmd

Regards,

Reply
0 Kudos
sthoppay_wipro
Enthusiast
Enthusiast

you can use the plink.exe from the putty to login to ESX and executing the command from a remote windows machine.

You can use the vmware-cmd createsnapthot & vmware-cmd revertsnapshot option to accomplish your tasks.

Reply
0 Kudos