CmdID / az / az offazure / az offazure hyperv / az offazure hyperv host
az offazure hyperv host show
Method to get a Hyper-V host. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Get host
az offazure hyperv host show --host-name "bcdr-ewlab-46-ntdev-corp-micros-e4638031-3b19-5642-926d-385da60cfb8a" --resource-group "pajindTest" --site-name "appliance1e39site" --subscription-id "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600"Identify--host-nameHost ARM name.--resource-groupName of resource group.--site-nameSite name.--subscription-idThe ID of the target subscription.Options
--host-nameHost ARM name.--name, -nName of the host.--resource-group, -gName of resource group.--site-nameSite name.--subscription-idThe ID of the target subscription.