Search code examples
azureazure-virtual-machineazure-vm-scale-set

Azure Scaleset - is there a Get-AzureRmVmssDiagnosticsExtension


Is there a Get-AzureRmVmssDiagnosticsExtension. How do I get if a scale set has diagnostics enabled and what storage it is using.


Solution

  • As far as I know, there is no command to get the storage account directly.
    But we can use PowerShell to the information of vmss, like this:

    PS C:\Users> get-azurermvmss -ResourceGroupName  vmss -VMScaleSetName vmss
    

    enter image description here