Virtualization

Export-VM

SafeExport a VM

Export-VM -Name <vm> -Path <dir>

Writes out config, disks and checkpoints — for relocation or cold backups. Restore with Import-VM.

Examples

  • Export-VM -Name web01 -Path D:\VMExportExport the whole VM

Syntax

Export-VM -Name <vm> -Path <dir>

Before you run it

Export only; watch disk space.

Used when you see

Evacuating VMs for host maintenance
3
Export VMs that can't migrate
See the whole flow →

Related commands

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