You can use powershell if you want to by using the following format to run the CLI commands
PS> cmd.exe /c "<insert command prompt command here>"
Be sure to be in an elevated command prompt
diskpart
list disk
select disk <whichever one is your disk>
list partition
select partition <whichever partition number>
(Continue doing this for each partition you want to clear)
delete partition override
exit