CmdID / az / az desktopvirtualization / az desktopvirtualization hostpool
az desktopvirtualization hostpool delete
Delete a host pool. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
Delete host pool
az desktopvirtualization hostpool delete -g rg -n hostpool-nameIdentify-gName of resource group.-nThe name of the host pool within the specified resource groupOptions
--forceForce flag to delete sessionHost.--name, -nThe name of the host pool within the specified resource group