Type the following command to get a list of all the available partitions and press Enter: To delete a partition that has an assigned letter, use these steps: Delete partition with an assigned drive letter On PowerShell, you have at least two different methods to remove a partition, including using the drive letter or partition number with different commands. How to delete a partition using PowerShell
Once you complete the steps, the partition and its contents will no longer be available on the drive making space available to expand another partition or format the drive with a new scheme. Right-click (only) the partition you want to remove and select the Delete Volume option. To delete a partition (or volume) with Disk Management, use these steps: How to delete a partition using Disk Management If you have any important files you want to preserve, it's recommended to create a backup of that data before proceeding. Warning: Using these instructions will erase all the data stored inside the partition.
How to delete partition using Disk Management.