Hi,
We have a 5 Node HyperV cluster on 2012 R2 with VMM 2012 R2. I am trying to find a script which will give me a complete inventory of my VMs. The problem the basic details i can get by get-vm command, however to get teh details of VHD with their size is a problem. I can see the Get-VM also gives the total size, but thats not teh correct. If teh Disk is dynamically expanding this total size gives teh as of now size and not the total allocated space. This then creates issue while in planning. I can see that teh get-virtualharddisk command gives the disk type and actual and max size of teh disk, but not the VM name so that i can map that info to the output of get-vm.
Can anyone please help me on this....
Manu