List vdisk - Displays all the virtual disks on the computer.Īfter you run the list commands, an asterisk (*) appears next to the object with focus. List partition - Displays the partitions on the disk that has focus on the computer. List volume - Displays all the volumes on the computer. List disk - Displays all the disks on the computer. You can list the available objects and determine an object's number or drive letter by using: After an object has focus, any diskpart commands that you type will act on that object. The diskpart command interpreter helps you manage your computer's drives (disks, partitions, volumes, or virtual hard disks).īefore you can use diskpart commands, you must first list, and then select an object to give it focus. Applies to: Windows Server 2022, Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, and Windows Server 2008 R2, Windows Server 2008