How do I delete an invalid partition or a logical drive?

To delete a logical drive (or partition) select the logical drive in the graphical control or in the Data Storage Devices and Partitions tree view and use the command Delete Invalid Partition from the Tools menu. Confirm partition deletion to make changes.