Reply to Message

View discussion in a popup

Replying to:
jmroth
Enthusiast
Enthusiast

I said you have to use Move-Harddisk in combination with Get-VM (like you showed).

Simply using "Move-HardDisk" like this is not working:

$hdsrc = Get-HardDisk -Datastore $srcds

foreach ($hd in $hdsrc) {

  Move-HardDisk $hd -Datastore $dstds

  ...

Reply
0 Kudos