Jul 02 2020 02:53 AM
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 all hosts to be added at a later date.
I haven't found a way to change this size either through the portal or with the new AzWvd* PowerShell module.
Am I missing something or is this just not possible after a hostpool is created?
Jul 02 2020 04:33 AM - edited Jul 02 2020 04:34 AM
@Bas van der Kruijssen Not possible after a Host Pool is created I believe.
https://docs.microsoft.com/en-us/azure/virtual-desktop/expand-existing-host-pool
Jul 02 2020 04:46 AM - edited Jul 02 2020 04:47 AM
@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?
Jun 16 2022 03:02 AM
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
Jan 09 2023 12:39 PM
I am trying to create a HostPool Via restapi and within Hostpool I want to create hostpool So I am finding difficulty to set Vmtemplate for HostPool.I am using this request body