Last 2VMs are being exported out of Hyper-V Server 2012 R2 right now. Both VMs are old Linux VMs (CentOS 6.5 and Ubuntu 14.04.1). I found them on the last two Hyper-V servers and could not use the GUI management tools. Making life a bit more challenging, doing simple file transfers was making the applications not work. I also tried updating the OSes before transferring and kept having to roll-back changes.
As a result, I realized it was time to do an old fashioned VM export. Since the GUI tools I have been used to were not working, I got to learn a bit more PowerShell.
PowerShell get physical disks (so I could find a good export path for the VMs):
GET-WMIOBJECT –query “SELECT * from win32_logicaldisk
Export-VM -Name “Vm-name-to-export” -Path "Path/to/export/folder"
I was then able to export them to shared folders and download. Easy enough but still much harder than Linux.
As a result, I realized it was time to do an old fashioned VM export. Since the GUI tools I have been used to were not working, I got to learn a bit more PowerShell.
PowerShell get physical disks (so I could find a good export path for the VMs):
GET-WMIOBJECT –query “SELECT * from win32_logicaldisk
Export-VM -Name “Vm-name-to-export” -Path "Path/to/export/folder"
I was then able to export them to shared folders and download. Easy enough but still much harder than Linux.