<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You could write a bash or batch script
      to do that.<br>
      Normal connect format is "virsh -c esx://yournode"<br>
      <br>
      "virsh start [domain]" is what starts a VM. Refer to the man pages
      for virsh command set.<br>
      <br>
      <br>
      /Abbas<br>
      <br>
      <br>
      On 10/23/2012 02:47 AM, Ali Nikzad wrote:<br>
    </div>
    <blockquote
cite="mid:CAGZenVpGrs3MZ5wjKG1TE=xf0YqPJrm7TCrOW_ULgRM+Nn9q0Q@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

I am a new libvirt user and I wonder if I can use this library to start or
stop a VM in ESXi 5.0.
For example to write an application using libvirt in windows or linux that
connects to an ESXi 5.0 server and get the list of VMs and start one of
them.

If so, is there any sample about it?

Thank you,
Ali

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>