Upgrade VM Guest Version in Windows Server Technical Preview

Windows Server Technical Preview brings a number of new and exciting changes.  Below are a few Hyper-V Enhancements that we get with release.  In order to take advantage of these features you must upgrade each VM's Version to 6.0.  Below are some steps to help out with that process.

1)  List of VM's and version

Get-VM * | Format-Table Name, Version

2) Upgrade VM Version on all Guest VM's

$VMs = Get-VM *

Foreach( $VM in $VMs){

If ($VM.Version -ne '6.0'){

Write-Host "Stopping VM:"$VM.Name

Stop-VM $VM.Name

Write-Host "Updating VM Version" $VM.Version " on " $VM.Name

Update-VmConfigurationVersion $VM.Name -Force

Write-Host "Starting VM:"$VM.Name

Start-VM $VM.Name

       }

}

https://technet.microsoft.com/en-us/library/dn765471.aspx

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified
in the
Terms of Use .

Comments

  • Anonymous
    November 10, 2014
    Virtuelle Maschinen in Hyper-V besitzen seit der ersten Hyper-V Versionen ein Attribut "VM-Version"