Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to Dynamic disk information from Hyper-V Cluster.
You can use below Powershell from your Hyper-V Cluster to get Dynamic disk information allocated to VMs.
$Cluster = "MyCLUSTERNAME.mydom.local"
$SaveTo = "C:\Test\Disknfo.csv"
$HVNodes = Get-ClusterNode -Cluster $Cluster
$Results = ForEach ($HVNode in $HVNodes) {
Invoke-Command -Computername $HVNode.name {
ForEach ($VM in (Get-VM)){
Get-VM -Name $VM.name | Select-Object VMID | get-vhd | Where-Object {$_.vhdType -eq "Dynamic"} | fl @{Label="VirtualMachine";Expression={($VM.name)}},ComputerName, Path, VHDFormat, VHDType
}
}
}
$Results | out-file -FilePath $SaveTo
--If the reply is helpful, please Upvote and Accept as answer--