Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.