Move-VM
CautionLive-migrate VMs
Move-VM -Name <vm> -DestinationHost <host>
Moves running VMs between hosts with no downtime — the pre-maintenance evacuation tool.
Examples
Move-VM web01 -DestinationHost HV02Migrate while running
Syntax
Move-VM <vm> -DestinationHost h [-IncludeStorage -DestinationStoragePath p]
Before you run it
Check network and CPU compatibility first.
Used when you see
Related commands
- Get-VMList Hyper-V VMs
- esxcli system maintenanceMode setMaintenance mode (ESXi)
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store