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

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



I don’t think there’s anything like that. When I had to do something like that, I used SSH to run commands remotely. It becomes a little trickier if it’s a Windows machine though. You might have to install cygwin to be able to run an SSH server.

 

From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Amit Shah
Sent: Friday, July 22, 2011 4:29 PM
To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] 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®.