VMConnect.exe – Windows CMD Command
Connect to a Hyper-V Virtual Machine.
Syntax
vmconnect.exe ServerName VMName [-C count]
vmconnect.exe ServerName [VMName] -G GUID [-C count]
Key
-C count
Specify an connection iD VMConnect will then stack the VM console windows
with a small offset so that they are all visible.
Larger numbers will space the windows further apart.
-G Connect using a GUID
A connection may be established both locally on the Hyper-V server or
remotely over a network or the internet from a client on which the tool
installed. Add Features > Remote Administration Tools > Role
Administration Tools > Hyper-V Tools.
Examples:
Connect to the Virtual Machine 'VM01' on server64:
C:\> VMConnect.exe Server64 VM01
Open 3 VM consoles:
C:\> VMConnect.exe Server64 VM01 -C 1
C:\> VMConnect.exe Server64 VM02 -C 2
C:\> VMConnect.exe localhost "Test Virtual Machine" -C 3