Just a practical question, is there a reason you don't want to generate such a report on the HyperV servers themselves? Microsoft has Get-VM and seems like it's better to go that route, no?
I'm sure you have a reason, and I'm just very curious!
Also I checked it in my lab quick and get the same within Veeam; seems that for HyperV there isn't the same periodic caching of the data like with VMware. If you go to Inventory you'll see that it sits there "Calculating" for awhile, so I guess there's no persistent data for this stored and it's looked up on the fly?
Is it possible the values just aren't returned to Powershell like it's returned to the UI? I tried refreshing the view in the UI and then recollecting the data, but couldn't get it to work on fully patched v11a
Talked to QA, Harvey is correct. We don't launch caching for Hyper-V items through powershell.
For the UI we do calculate these values, but we do it manually through opening and summing up vm disk values.
In Powershell the same approach affected performance a lot, so we decided to not reflect this info.
Works for Vi items via Powershell though.
In fact, they are. It is not much of a difference if you have very few Hyper-V VMs, but it turned out to be an issue with hundreds and even dozens of them.