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
2022-11-23T02:04:16.62+00:00

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.

263261-image.png

Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
82 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,522 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.