Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just finished setting up a server core version of hyper-v 2012. The problem I am running into is connecting to a VM via powershell. I recognize that I use a server 2012 or win 8 machine to manage the server remotely and connect to a running VM that way but I can not find a command that will let me do it. Am I missing something? Does a command to connect to running VM exist?

share|improve this question
add comment

1 Answer

For Windows 8, you first need to install Remote Server Administration Tools.

First ensure that you have the Hyper-V management tools installed. You can do this by Add Roles and Features from Server Manager. enter image description here

(While you can configure Hyper-V with PowerShell, you also need the GUI tools installed to actually make a remote connection to the virtual machine.)

Command line method

Call vmconnect from the command line to connect to a specific server and virtual machine. The options for vmconnect are:
enter image description here

GUI method

Now open Hyper-V Virtual Machine Connection. enter image description here

Then select the Hyper-V server you want to connect to, then the virtual machine on that server. enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.