Check the virtual machine configuration versions
- On the Windows desktop, click the Start button and type any part of the name Windows PowerShell.
- Right-click Windows PowerShell and select Run as Administrator.
- Use the Get-VM cmdlet. Run the following command to get the versions of your virtual machines.
Get-VM * | Format-Table Name, Version
You can also see the configuration version in Hyper-V Manager by selecting the virtual machine and looking at the Summary tab.
Upgrade the virtual machine configuration version
- Shut down the virtual machine in Hyper-V Manager.
- Select Action > Upgrade Configuration Version. If this option isn’t available for the virtual machine, then it’s already at the highest configuration version supported by the Hyper-V host.
To upgrade the virtual machine configuration version by using Windows PowerShell, use the Update-VMVersion cmdlet. Run the following command where vmname is the name of the virtual machine.
Update-VMVersion <vmname>
Supported virtual machine configuration versions
The following table shows which virtual machine configuration versions are supported by Hyper-V hosts that run on specific versions of Windows operating systems.
Hyper-V host Windows version | Supported virtual machine configuration versions |
---|---|
Windows Server 2016 | 8.0, 7.1, 7.0, 6.2, 5.0 |
Windows 10 Anniversary Update | 8.0, 7.1, 7.0, 6.2, 5.0 |
Windows Server 2016 Technical Preview | 7.1, 7.0, 6.2, 5.0 |
Windows 10 build 10565 or later | 7.0, 6.2, 5.0 |
Windows 10 builds earlier than 10565 | 6.2, 5.0 |
Windows Server 2012 R2 | 5.0 |
Windows 8.1 | 5.0 |
Run the PowerShell cmdlet Get-VMHostSupportedVersion to see what virtual machine configuration versions your Hyper-V Host supports. When you create a virtual machine, it’s created with the default configuration version. To see what the default is, run the following command.
Get-VMHostSupportedVersion -Default
Leave a Reply