Running application in guest operating system from hyper-v host

Yanıt Running application in guest operating system from hyper-v host

  • 21 Haziran 2012 Perşembe 14:45
     
     
    As the title states, is it possible with hyper-v to execute commands in a virtual machine from outside the virtual machine (i.e run an application). I'm looking for something similar to "vmrun" that's found in VMware software. I've explored integration services, but didn't see any possibilities for this functionality. Just want to make sure there's no easy way to do this before proceeding to develop services within the virtual machines.

Tüm Yanıtlar

  • 21 Haziran 2012 Perşembe 16:02
     
     Yanıt

    Hi!

    To my knowledge, Hyper-V is not capable of guest OS interaction in that way. You can download and use PSExec included in the PSTools package, to execute commands remotely on any computer from any computer:

    http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

  • 22 Haziran 2012 Cuma 17:25
     
     Önerilen Yanıt
    In addition to PSExec mentioned by Mike, WinRM/WinRS is part of the operating system.  It is also possible to use remote sessions of PowerShell - open a remote session and execute whatever you want.  Lots of possibilities, but the all require a network connection between the two operating system instances.

    tim