jtd1
asked on
start a vm from command line in Hyper-V 2008 R2
There must be a easy way to do simple management of VM's from either the command line or PowerShell that is built into Hyper-V 2008 R2 stand alone server ?
Just trying to find the basics - start, stop, view status - of the Virtual Machines rrunning on a Hyper_V 2008 R2 server (not Windows 2008 running Hyper-V role).
Just trying to find the basics - start, stop, view status - of the Virtual Machines rrunning on a Hyper_V 2008 R2 server (not Windows 2008 running Hyper-V role).
hyper-V manager would be a good tool for you..
you may read this thread:
https://www.experts-exchange.com/questions/23447733/connect-to-hyper-v-manager-from-XP.html
hope this helps.
you may read this thread:
https://www.experts-exchange.com/questions/23447733/connect-to-hyper-v-manager-from-XP.html
hope this helps.
ASKER
nealerocks - hoping not to get into VB scripts - just hoping for simplke Powershell commands
bcoyxp - want to do this rom the console of the Hyper-V server, not an external machine Win7, Vista or otherwise.
sudhakaral - I see this solution before but it is refering to Hyper-V on a Windows 2008 server, not the stand alone Hyper-V 2008 R2 server which already has PowerSHell loaded and I assume some sort of management capabiltity. It talks about loading a VM Management tool but is it compatible with the standa alone server ?? Is it already there and I'm just trying to figure out how to use it ? Thoughts ?
bcoyxp - want to do this rom the console of the Hyper-V server, not an external machine Win7, Vista or otherwise.
sudhakaral - I see this solution before but it is refering to Hyper-V on a Windows 2008 server, not the stand alone Hyper-V 2008 R2 server which already has PowerSHell loaded and I assume some sort of management capabiltity. It talks about loading a VM Management tool but is it compatible with the standa alone server ?? Is it already there and I'm just trying to figure out how to use it ? Thoughts ?
ASKER
Just to be clear, I am trying to do this on the stand alone Hyper-V 2008 R2 server, not a Win2008 server with Hyper-V.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hhaywood000 - I had a quick look before. Are you sure these apply to Hyper-V 2008 R2 and not just to the Hyper-V role on 2008 server ?
Yes it should work fine. Hyper-V R2 supports powershell natively.
ASKER
Ill give it a try and let you know
Thanks
Thanks
This demonstration will show you how to utilize powershell and WMI to achieve what your are looking for.
http://technet.microsoft.com/en-us/virtualization/cc952342.aspx
http://technet.microsoft.com/en-us/virtualization/cc952342.aspx
http://www.vistax64.com/virtual-server/191392-shutdown-startup-hyper-v-virtual-machine-via-script.html