Get-VHD -Path "D:\VMs\*\*.vhdx" | Select Path, FileSize, VhdType
The Get-VHD cmdlet retrieves information about a VHD file, including its path, type (fixed, dynamic, or differencing), size, and parent VHD (if applicable). You can use this information to manage and configure your virtual machines. get-vhd
He had the map, but he didn't have the territory. Get-VHD -Path "D:\VMs\*\*