I've ran the following on the wrong drive in the diskpart command in windows:
select disk 1 clean create part pri
What is the quickest way I can recover the old partition in the drive?
It was an NTFS partition taking up the whole drive. I think it was a standard partition, not a gpt one, although I'm not entirely sure.
Update:
Since there was just one NTFS partition taking up the whole space on the drive, is there a way to just recreate that partition in the partition table, and not have to reformat it?