Hyper-v VM migration with VMM Powershell

Somethimes you need to bulk migrate some Hyper-v virtual machines.
This is not possible with the VMM gui.

In this situation PowerShell can help:
Filter on VMname

Replace the $VM line when you need to migrate all the machines placed on a specified host:





Comments ( 2 )

  1. Avatar
    timNovember 6, 2015 17 // Reply

    With the Move-SCVirtualMachine you have the -JobGroupID. Do you know how we can use this to monitor the status of the job and tell when it is complete? thanks, tim

Leave a reply

Your email address will not be published.