首页 > 解决方案 > 如何获取 Azure Windows VM 计划信息?

问题描述

我正在寻找 powershell 命令来获取 Azure Windows VM 计划信息。我查找了Get-AzVM,但找不到所需的信息。

这是我正在寻找的 azure 门户上的属性

在此处输入图像描述

标签: azurepowershellazure-powershell

解决方案


使用以下查询:

az vm show --name myvm  --resource-group test --query storageProfile.imageReference.sku

推荐阅读