Azure / Azure/azure-powershell
Is there a Powershell Command that will collect data by filtering disk metrics by "LUN" on Azure Performance Metrics?
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
### Description
Is it possible to collect the performance metric data of VM with attached disk (LUN) using Powershell command?
As of now, I am just checking the Azure Portal to get the information. I am thinking if it can also be collected by using Get-AzMetric Powershell command.

### Script or Debug output
_No response_
### Environment data
_No response_
### Module versions
_No response_
### Error output
_No response_
Contributor guide
Research direction
Start with the Get-AzMetric documentation and the Azure Portal metric's available dimensions for attached disks and LUN. Confirm whether the requested filter is supported, then document the exact command or limitation and a reproducible example; the issue is done when a user can collect the same LUN-scoped data without relying on the portal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, observability-sre
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100