How to export Hyper-V virtual machines in Windows 10
General information
Hyper-V allows running virtual computer systems on a physical server.These virtualized systems (also known as guest) can be used and managed like physical computer systems, but they exist in a virtualized and isolated environment.
You can use Hyper-V export and import functions to quickly copy virtual machines.Virtual machines that are accessed can be used for backup or as a way to migrate a virtual machine between Hyper-V servers.
The import function allows you to restore virtual machines.You don't need to export a virtual machine to import it.
When performing a virtual machine export, all linked files will be grouped together.They include configuration files, hard drive files, and any existing test files on the system.
The instructions below will show you how to export one or all Hyper-V virtual machines (clients) on your Windows 10 computer (server).
Note : You must be logged on as an administrator to be able to export Hyper-V virtual machines.
How to export Hyper-V virtual machines in Windows 10
- General information
- Export Hyper-V virtual machines using the Hyper-V Manager
- Export all Hyper-V virtual machines using PowerShell
- Export a single Hyper-V virtual machine using PowerShell
Export Hyper-V virtual machines using the Hyper-V Manager
1. Open the Hyper-V Manager (Hyper-V Manager).
2. Select the Hyper-V server (for example, "BRINK-DESKTOP") from the left pane of the screen, then select one or more virtual machines in the middle pane to export and import, and then click the Export button in the task pane on the right of the screen (see screenshot below).
Note :You can press and hold the Ctrl key and click on any virtual machine (s) to select them for retrieval, then release the Ctrl key when you're done.
3. Click the Browse button, navigate to and select the appropriate folder (eg "My Virtual Machines") that you want to export, then click Select Folder and click Export . (see screenshot below).
4. Now the virtual machine (s) will be exported.This action may take some time to complete (see screenshot below).
5. When this process is complete, you can close the Hyper-V Manager if you wish.
Export all Hyper-V virtual machines using PowerShell
1. Open PowerShell.
2. Copy and paste the command below into PowerShell and press Enter.
Get-VM | Export-VM -Path 'Full path of directory to export to'
Note: Replace the full path of the directory to export to the above command with the full path of the directory location you want to export the file of the virtual machine to.
3. When done, you can close PowerShell if you want.
Note: The process of exporting virtual machine (s) to this designated directory location may take some time to complete.
Export a single Hyper-V virtual machine using PowerShell
1. Open PowerShell.
2. Type the command below into PowerShell, press Enter and note the name of the virtual machine you want to export (eg "w10 build 14379"), (see screenshot below).
Get-vm
![]()
3. Type the command below into PowerShell and press Enter (see screenshot below).
Export-VM -Name 'Name of virtual machine' -Path 'Full path of directory to export to'
![]()
Attention:
Replace the virtual machine name in the above command with the name of the virtual machine from step 2 above.
Replace the full path of the directory to export to the above command with the full path of the directory in which you want to export the virtual machine.
For example:
Export-VM -Name 'w10 build 14379' - Path 'D: My Virtual Machines'
4. Virtual machine will be exported.This action may take a while to complete (see screenshot below).
5. When done, you can close PowerShell if you want.
See more:
- 4 free virtualization software solutions on Windows
- What is the future of server virtualization?
- Is Windows Virtualization (Virtualization) testing enabled?
- How to attach and split VHD and VHDX files in Windows 10
You should read it
- Create virtual machines with Hyper-V on Windows 8 and Windows 10
- Create virtual machines in Hyper-V on Windows Server 2008
- How to check if your computer is running Windows 10 Hyper-V?
- Monitor Hyper-V with the command line (Part 2): Basic monitoring commands
- Monitor Hyper-V with the command line (Part 3): Check virtual machine status
- Monitor Hyper-V with the command line (Part 1): Install the monitoring library
- Instructions for using Hyper-V on Windows 8 (Part 1)
- Instructions for installing Hyper-V
May be interested
- Create private cloud with Hyper-V (Part 3)in the previous lesson, we created the hyper-v task sequence. now is the time to make this task sequence change so that we can use them to create hyper-v servers that manage virtual machines in the private cloud.
- How to create a virtual machine repository for Hyper-V Quick Createquick create is a feature in hyper-v that allows users to set up new virtual machines with just a few mouse clicks.
- Monitor Hyper-V with the command line (Part 4)among the hardware resources that are usually assigned to virtual machines, perhaps the memory is most fixed. this tutorial will show you how to manage virtual machine memory through windows powershell.
- Monitor Hyper-V with the command line (Part 2): Basic monitoring commandsin this article, we will learn how to access the virtual machine list and see general information about virtual machines with simple powershell statements. we will also look at stop commands and start virtual machines from the command window.
- How to create a virtual machine in Windows Server 2012in this article, we will look at how to create a virtual machine. first, you need to open the hyper-v manager and then follow the steps below.
- How to fix the problem of not being able to start Windows 11 after enabling Hyper-VORhyper-v is microsoft's out-of-the-box solution for running virtual machines. while it may not have as many features as other hypervisors, it still gets the job done.
- Monitor Hyper-V with the command line (Part 3): Check virtual machine statusthe previous article showed you how to turn on and off the virtual machine with the command line. this article will introduce two methods of validating that virtual machines are running and responding.
- Create private cloud with Hyper-V (Part 4)the previous article showed users how to create executable image files and assign image files to windows deployment services. although the image file that we created can start immediately, it is not ready for use yet. because we are creating a private cloud with the ultimate goal of being able to create machines
- Use Quick Migration to move virtual machines between Hyper-V hostswith quick migration, users can easily move an active virtual machine from a real host system through another system with a minimum downtime, while ensuring performance and performance. necessary stability. by using windows server hyper-v or windows server 2008 with hyper-v, along with quick migration, the manager can fully take the initiative.
- Use the Virtual Machine Manager to quickly deploy Hyper-Vthe tips in this article will show you how to quickly deploy virtual machines using the system center virtual machine manager (scvmm) management program of hyper-v.