Retrieving virtual disk file name from disk number
- by Josip Medved
When I list virtual disks within diskpart:
DISKPART> list vdisk
VDisk ### Disk ### State Type File
--------- -------- -------------------- --------- ----
VDisk 0 Disk 2 Attached not open Fixed C:\Disk.vhd
Interesting part for me here is file name. I tried to find equivalent of function that would give me file name (under File column) if I know disk number.
Any idea which function that might be?