1,798
edits
Changes
→Performing a Live Migration using Windows PowerShell
For a command-line or script based method of performing live migrations, the Windows PowerShell environment may be used as follows:
<pre>
Add-Module FailoverClusters
</pre>
<pre>Get-Cluster “<Cluster Namecluster>” | Move-ClusterVirtualMachineRole -Name “<VM vm group name>” -Node “<Destination destination node name>” </pre>
Where:
* <Cluster Namecluster> is represents the name of the cluster that contains the virtual machine is included in. <VM group name> is the virtual machine resource groupto be migrated.
* <vm group> represents the virtual machine resource group containing the virtual machine.
* <Destination destination node name> is represents the name of the destination host node within the Failover cluster to which you would like to move the virtual machine using live migrationis to be migrated.