Forum Discussion
Bas van der Kruijssen
Jul 02, 2020Copper Contributor
Trying to change the default VM size on a host pool
Hello all, I'm looking for a way to change the default VM size for a host pool. When I first created a hostpool I used the Standard_E2as_v4 size never realizing this size would be the default for...
Bas van der Kruijssen
Jul 02, 2020Copper Contributor
SteveMiles70 Missed that note on the docs page, thanks for the link 🙂
I understand the importance of VM sizes to be equal for all VM's in a hostpool. However, it's still possible to change the VM size from the virtual machine blade without problems. So this would be a deploy-time setting which can be altered outside of the WVD environment post deployment and cause strange issues.
There's also the case of new insights into the usage of your WVD environment over time. How can we change the VM size for the hostpool if the initial sizing was incorrect?
Vaidant
Jun 16, 2022Copper Contributor
We can still change Host pool SKU even after creation by using the below PowerShell command
Update-AzWvdHostPool -Name myhostpool-1 -ResourceGroupName WVDRG -VMTemplate $null