Delete a Windows Recovery Partition via CLI

The Windows Recovery Partition always seem to be at the end of the drive. This makes it nearly impossible without a third-party utility to expand the disk space. I don’t recall ever a time where I needed to access this partition. I don’t know why Microsoft in their infinite wisdom did not incorporate this functionality in their Disk Management utility. At the least, there are commands that may be executed to perform the task of deleting the partition using Command or PowerShell.

diskpart
diskpart > list disk
diskpart > select disk # 
diskpart > list partition 
diskpart > select partition # 
diskpart > delete partition override

Source(s)