Delete

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Deletes a partition or a volume. It also deletes a dynamic disk from the list of disks.

Syntax

delete disk
delete partition
delete volume

Parameters

Parameter

Description

Delete disk

Deletes a missing dynamic disk from the list of disks.

Delete partition

Deletes a partition.

Delete volume

Deletes a volume.

Additional references

Command-Line Syntax Key

DiskPart Commands