【发布时间】:2017-08-04 12:33:52
【问题描述】:
试图查找规模集上现有的 IaaSDiagnostics 是什么,但无法将设置提取为字符串输出,
试过了,但没有太大帮助,因为以 JProperty 形式返回,
Get-AzureRmVmss -ResourceGroupName usptenant-DAT-EastUS -VMScaleSetName besfvm `
| Select-Object -ExpandProperty VirtualMachineProfile `
| Select-Object -ExpandProperty ExtensionProfile `
| %{ $_.Extensions[1] | Select-Object -ExpandProperty Settings }
我被类型转换困住了,或者在访问诊断信息时完全走错了方向。
【问题讨论】:
标签: powershell azure-service-fabric azure-vm-scale-set