bdehdcfg: driveinfo

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Displays the drive letter, the total size, the maximum free space, and the partition characteristics. Only valid partitions are listed. Unallocated space is not listed if four primary or extended partitions already exist.

Note

This command is informational only and makes no changes to the drive.

Syntax

bdehdcfg -driveinfo <drive_letter>

Parameters

Parameter Description
<drive_letter> Specifies a drive letter followed by a colon.

Example

To display the drive information for the C: drive:

bdehdcfg  driveinfo C: