For example, to create a virtual machine named "WindowsCV5" with configuration version 5.0, run the following command: New-VM -Name "WindowsCV5" -Version 5.0 If you need to create a virtual machine that you can move to a Hyper-V Host that runs an older version of Windows, use the New-VM cmdlet with the -Version parameter. To see which virtual machine configuration versions your Hyper-V Host supports and what the default is, run the following command. When you create a virtual machine, it's created with the default configuration version. Using the PowerShell cmdlet Get-VMHostSupportedVersion you can see what virtual machine configuration versions your Hyper-V Host supports. Supported virtual machine configuration versions Run the following command where vmname is the name of the virtual machine. To upgrade the virtual machine configuration version by using Windows PowerShell, use the Update-VMVersion cmdlet. 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. Select Action > Upgrade Configuration Version.Shut down the virtual machine in Hyper-V Manager.Step 2: Upgrade the virtual machine configuration version You can also see the configuration version in Hyper-V Manager by selecting the virtual machine and looking at the Summary tab. Run the following command to get the versions of your virtual machines. Right-click Windows PowerShell and select Run as Administrator.On the Windows desktop, click the Start button and type any part of the name Windows PowerShell.Step 1: Check the virtual machine configuration versions You're sure that you won't need to move the virtual machine back to a Hyper-V host that runs a previous version of Windows or Windows Server.įor more information, see Cluster Operating System Rolling Upgrade and Perform a rolling upgrade of a Hyper-V host cluster in VMM.You upgrade the cluster functional level.You upgrade your Hyper-V hosts to the latest version of Windows or Windows Server.Make the latest Hyper-V features available on your virtual machines by upgrading the configuration version. Applies to: Windows Server 2022, Windows 10, Windows Server 2019, Windows Server 2016
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |