never-displayed
View discussion in a popup
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
...