Live Migrate VMs in a cluster with PowerShell

Live Migrate VMs in a cluster with PowerShell

Q. How do I live migrate VMs in a cluster with PowerShell, Move-VM does not work.

A. Move-VM is used to perform Live Migrations outside of a cluster. To move VMs in a cluster use:

Get-VM <VM name> | Move-ClusterVirtualMachineRole -MigrationType Live -Node <target name> -Wait 0

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish