Is there a Powershell Command that will collect data by filtering disk metrics by "LUN" on Azure Performance Metrics?

Jessah Mae Alogon 21 Reputation points

Is it possible to collect the performance metric data of VM with attached disk (LUN) using Powershell command?

I only tried the command Get-AzMetric and I was able to collect the performance metric data of a particular VM server. But that is only on the VM itself. Can this also be done (via Powershell script) on the attached LUN which needs to filter out when you are in the Azure Portal. Honestly, I haven't find any CLI command yet. That's why I'm asking if there is someone who was able to do it.


Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
80 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,460 questions
{count} votes