Im trying to monitor performance counters of a shared vhdx disk on a Windows Server 2016 Hyper-V host. The performance counters Im interested are \Hyper-V Shared VHDX\*. When I select one of those counters, the instance name of the counter is showed like this: "\Device\HarddiskVolume5".
The problem is that I dont know to which Shared VHDX this instance belongs to. Is there a way to map this instance name to the name that is show in the Shared Drive in the settings of a virtual machine disk? Like this
This is for the purpose to automate collection of perfomance counters of shared vhdx.