[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Run a powershell command on VM from xenserver


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Amit Shah <amit.shah@xxxxxxxxxx>
  • Date: Fri, 22 Jul 2011 16:28:51 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Fri, 22 Jul 2011 13:29:04 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcxIrfgrk79VdfTOSsiRoYIUztUH4A==
  • Thread-topic: Run a powershell command on VM from xenserver

Hi All,
Is there any xe command or API to run a powershell command/script on a VM from xenserver without actually connecting to the VM via RDP or console.

eg: If i want to say create a directory on a VM or change some registry setting. So is there an xe command like
xe vm-run-command vm-name=test command="mkdir c:\test"

I would appreciate any ideas to accomplish this.

Thanks
Amit

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.