Why VirtualHardDisks lists AVHD filenames?

Apr 13, 2010 at 12:23 PM


I'm trying to query for the Virtual Hard diks files of the VMs using SCVMM PS query.

Why VirtualHardDisks lists AVHD filenames, instead of VHD filenames?

Please refer to example below, for Name=hyperv1, AVHD filenames are listed, but for other VMs, VHD filenames are listed.

What is alternate way to list only VHD files, even if AVHD files are present?


PS C:\Users\smqa1> get-vm -vmmserver  | Format-List -property Name, VirtualHardDisks

Name             : test
VirtualHardDisks : {test}

Name             : hyperv1
VirtualHardDisks : {hyperv1_1D6A6301-4E33-4609-808B-841FB5F38724, hyperv1_demo_
                   B2914CB9-18C4-45D5-A2B8-71AC2D468B6F, hyperv1_disk_1_DB7BE37

Name             : hyperv_5
VirtualHardDisks : {hyperv_5_disk_1}

Name             : hyperv2
VirtualHardDisks : {hyperv2_disk_1}

Name             : hyperv3_suse
VirtualHardDisks : {hyperv3_suse_disk_1}




Apr 22, 2010 at 7:07 AM
Edited May 1, 2010 at 1:07 PM

Was that VM created by using the SCVMM P2V process?