You can do
Get-VM | Export-VM -Path D:\
https://learn.microsoft.com/en-us/powershell/module/hyper-v/export-vm?view=windowsserver2019-ps
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I'm just asking how many VMs Can be exported at the same time. We need to migrate about 33 vm from Hyper-V cluster to another Hyper-V cluster in another site with no any direct connection between the two sites
So I will use export/import feature
Can I export multiple VMs or it will affect the performance of the running VMs
Thanks
You can do
Get-VM | Export-VM -Path D:\
https://learn.microsoft.com/en-us/powershell/module/hyper-v/export-vm?view=windowsserver2019-ps
--please don't forget to Accept as answer if the reply is helpful--
Hi,
Exporting/Importing vhds would increase the IOPS of the disk, which probably would affect the performance of the running VMs. If you’re using high-performance disks (for example, SSDs) on the host, you make not feel much influence.
Given that there’re 33 VMs in total, which is a large number, I would suggest that you do the export separately. You could try to export 5 VMs at a time, so that the running VMs wouldn’t get affected too much.
If you have any other concerns, please feel free to contact me anytime.
Thanks for your time!
Best Regards,
Anne
-----------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.