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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store