Hi,
i am running the below to get the VM inventory. However i need the syntax to get the VHD information / size.
Get-SCVirtualMachine -VMHost HOSTNAME -VMMServer LocalHost | Select-Object Name, ComputerName, Status, Description, VHDType, Memory, DynamicMemoryEnabled, DynamicMemoryMinimumMB, DynamicMemoryMaximumMB, Location, OperatingSystem, VMId | Export-csv "C:\VMInventory" -NoTypeInformation
Thanks,
Avinash