DISKPART Formatting
There are several guides out there, but this is the only procedure I've found useful and use as a template.
Open CMD as admin and issue the following commands:
Diskpart
list Disk
select Disk <number>
list partition
#Careful here, I've once deleted 1TB by accident.
select partition <number>
delete partition
#Remove drive and exit Diskpart
#Re insert drive
#Do not format when the prompt pops up
#Open Diskpart
Diskpart
list Disk
select disk <number>
clean
create partition primary
select partition <number>
active
#Choose a file system
format fs=FAT32 quick | format fs=ntfs quick
assign
exit
Knowing diskpart is handy, its massively underused and undervalued imo! Nothing wrong with your template, but wondering if you could half your work load by skipping the top section and just going straight to ‘clean’... I guess a lot of it depends on what you’re intended use is, but I almost always go with ‘convert gpt’ these days, though I’m almost always working within Win10 in UEFI.