Guide
How to manage Hyper-V hosts and virtual machines remotely
Hyper-V runs in two places: on a Windows 10 or 11 Pro or Enterprise PC, and on Windows Server. RemoteAccessApp reaches both, in different ways. On a Windows 10 or 11 host you install the RemoteAccessApp Agent and get the whole PC, its screen and a command prompt. On Windows Server you use Remote Desktop and SSH from the same app.
Either way, the virtual machines themselves are managed with Hyper-V's own tools: Hyper-V Manager on the host's screen, or PowerShell. This guide shows how to reach both from anywhere, and how to run the same PowerShell on several hosts.
- Windows 10 and 11 hosts with the Agent
- Windows Server over RDP and SSH
- PowerShell on many hosts
Updated · Works on Windows 10 and 11
Which way fits your host
- Hyper-V on Windows 10 or 11 (Pro, Enterprise or Education): install the free RemoteAccessApp Agent on the PC. You get its desktop through any router, a remote PowerShell or Command Prompt, Windows tools, and commands on several PCs at once.
- Hyper-V on Windows Server: the RemoteAccessApp apps support Windows 10 and 11, so reach the server as a saved host instead: RDP for its desktop, and SSH with Windows' OpenSSH Server for PowerShell, scripts and a live dashboard.
- The Windows VMs on either: saved as RDP hosts, once Remote Desktop is on inside each VM. Linux VMs: SSH hosts.
Good to know
Set it up
Step 1: Install the Console on your own PC
Download RemoteAccessApp for Windows 10 or 11, choose the Console and sign in with a free account.
Step 2: Windows 10 or 11 host: add the Agent
On the Hyper-V PC, run the same installer, choose the Agent and sign in to the same account, so the PC appears on your Devices page. To reach it when nobody is there, turn on unattended access at the PC.
Step 3: Windows Server host: turn on OpenSSH Server and Remote Desktop
On the server, add the OpenSSH Server optional feature and start its service, and turn on Remote Desktop. In an administrator PowerShell on the server:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 Start-Service sshd Set-Service sshd -StartupType Automatic
Step 4: Save the server and its VMs as hosts
On the Connections page, add the server as an SSH host and an RDP host, and each Windows VM as an RDP host. Put them in a group per host, such as Hyper-V 1, and tag them if you like.
Step 5: Check the server's key, then connect
The first time you connect over SSH, compare the key fingerprint with the server's own before you trust it. See server keys. Use an SSH key instead of a password where you can; the SSH keys help explains how.
PowerShell for Hyper-V, from anywhere
On a Windows 10 or 11 host, right-click it on the Devices page and choose Open command prompt, or click Terminal in a session's toolbar and pick PowerShell. On Windows Server, open its SSH host. Then the Hyper-V module does the work:
Get-VM Start-VM -Name "web-01" Stop-VM -Name "web-01" Checkpoint-VM -Name "web-01" -SnapshotName "before-update" Get-VMSwitch
Rights
Hyper-V's cmdlets need an administrator, or a member of the Hyper-V Administrators group. On a Windows 10 or 11 host, commands run with the rights RemoteAccessApp has there, which is normally the signed-in user's, and Windows keeps remote tools away from its administrator (UAC) prompts: anything that asks for one has to be approved by someone at the PC. Adding your user to Hyper-V Administrators avoids that for VM work.
Windows Server's SSH shell
Windows' OpenSSH Server starts Command Prompt unless you've made PowerShell its default shell. From Command Prompt, run a PowerShell command like this:
powershell -NoProfile -Command "Get-VM | Select-Object Name, State, Uptime"
Watch the hosts and their services
For a Windows 10 or 11 host, Windows tools show its processes, services, sign-in sessions and Event Log. The Hyper-V Virtual Machine Management service (vmms) is the one to check when VMs won't start, and you can restart a service there while remote control is allowed on that PC.
For a Windows Server host, click Dashboard on its SSH terminal tab for live CPU, memory, disk and network graphs and the busiest processes. On Windows it reads them with PowerShell over SSH every 5 seconds or more, installs nothing, and stops when the tab is off screen.
One command on many hosts
- Windows 10 and 11 hosts, free: select them on the Devices page, right-click and choose Run a command, and get each PC's output and exit code side by side.
- Windows 10 and 11 hosts, with Pro: Management runs a saved PowerShell script on many PCs at once or on a schedule, showing the exact command first. A script that needs administrator rights needs the Agent to run as administrator on that PC.
- Windows Server hosts, free: save the script in the SSH terminal's Scripts & History panel and use Run on hosts… to run it on every server you tick, with each one's output and result.
For example, a morning check of which VMs are running on each host:
powershell -NoProfile -Command "Get-VM | Where-Object State -eq Running | Select-Object Name, Uptime"
More in running a script on many PCs.
Mixed labs
Hyper-V hosts often sit next to Linux hypervisors. The same Connections list holds them all, and split view puts a Hyper-V server's RDP tab next to a Proxmox VE dashboard. See managing Proxmox, VMware and KVM hosts from one app for the rest of the setup.
Questions, answered
More homelab and virtualization guides
- Manage Proxmox, VMware & KVM hostsSSH, web interfaces, RDP and VNC consoles, ISO and backup copies, scripts and dashboards for your hypervisor hosts and VMs, in one app.Read the guide
- Homelab managementOne app for a homelab: SSH, SFTP and FTP, RDP and VNC, web panels, a live host dashboard, and remote desktop for Windows and Linux PCs.Learn more
- Proxmox VE remote managementSSH to Proxmox VE nodes with keys, reach the web UI without opening ports, run qm and pct across nodes, and move ISOs and backups.Read the guide
- Manage VMware ESXi remotelyThe ESXi Host Client and vSphere Client in a tab, SSH with esxcli and vim-cmd, datastore files, and RDP or SSH into guests.Read the guide
- KVM and QEMU VM consoleslibvirt VNC consoles through an SSH tunnel, virsh for everything else, and honest limits for SPICE displays.Read the guide
- TrueNAS, Unraid and NAS accessYour NAS web UI as a saved panel, SSH and SFTP with keys, a live dashboard and server-to-server copies.Read the guide
- pfSense, OPNsense and router adminKeep firewall and router admin pages off the internet and still reach them: web panels, a PC on the LAN, SSH and serial consoles.Read the guide
- Docker and Podman hostsContainers, logs, restarts and shells over SSH, host dashboards, and scripts across every Docker or Podman host.Read the guide
- Raspberry Pi and small serversSSH with keys, a VNC desktop through an SSH tunnel, a live dashboard and file copies for a Pi or any small Linux box.Read the guide
- Dell iDRAC remote accessThe iDRAC and its virtual console in a tab, racadm over SSH, and a way in from anywhere that never exposes it to the internet.Read the guide
- HPE iLO remote consoleiLO and its HTML5 console in a tab, power and the virtual serial port over SSH, and a private way in from anywhere.Read the guide
- Supermicro IPMI and iKVMThe BMC page and HTML5 iKVM in a tab, ipmitool from a server on the same network, and IPMI kept off the internet.Read the guide
- One app for your whole homelabWhy juggling terminals, browser tabs and viewers for a homelab gets old, and what one app for every host and VM looks like.Read the post
- Homelab maintenance checklistUpdates, backups, disk checks and consoles: a maintenance-night checklist for a homelab, worked through from one window.Read the post
- Stop exposing your hypervisor web UIWhy management web UIs belong on your own network, and how to reach them from anywhere without opening a port.Read the post
- 5 workflows for many serversGroups and tags, saved workspaces, one script on many hosts, direct server-to-server copies and live dashboards.Read the post
Related
- Remote console accessRemote console access to PCs, servers and devices: PowerShell, bash, SSH and serial consoles from anywhere, in the app or a browser.Read the guide
- Run a script on many PCsOne command or saved script on many PCs, now or on a schedule, with each PC's output and the person there kept informed.Read the guide
- RDP & VNC managerSave RDP, VNC, SSH, SFTP, FTP hosts and web admin panels in one list, and open them in tabs.Learn more
- Set up unattended accessUnattended remote access setup, step by step: reach your own PCs when nobody's there, without opening the door to anyone else.Read the guide
- Remote desktop for WindowsSee and control your Windows PCs from anywhere, free for up to 5 PCs.Learn more
