Read Hyper-V Network and Storage Metering Data

Read Hyper-V Network and Storage Metering Data

Q: My Hyper-V Resource Metering data shows strange values for network and storage data--how do I view it?

A: For storage and network details, separate report objects are created which need to be separately viewed. 

PS C:\> $report = Measure-VM -VMName savdalfs01

PS C:\> $report.NetworkMeteredTrafficReport

LocalAddress RemoteAddress Direction TotalTraffic(M)
------------ ------------- --------- ---------------
             0.0.0.0/0     Inbound   2121 
             0.0.0.0/0     Outbound  3479 
             ::/0          Inbound   88 
             ::/0          Outbound  2 

PS C:\> $report.HardDiskMetrics


VirtualHardDisk : Microsoft.HyperV.PowerShell.HardDiskDrive
AverageNormalizedIOPS : 2
AverageLatency : 0
DataRead : 38465
DataWritten : 72908

VirtualHardDisk : Microsoft.HyperV.PowerShell.HardDiskDrive
AverageNormalizedIOPS : 0
AverageLatency : 0
DataRead : 11213
DataWritten : 14302 

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish