MajorGeeks published a quick guide on how to erase a disk using the Diskpart clean command.
How to Erase a Disk Using Diskpart Clean Command in Windows
One of the lesser-known Diskpart commands is clean or clean, all allowing you to wipe a partition or drive, leaving it unallocated and not initialized.
How to Erase a Disk Using Diskpart Clean Command in Windows - MajorGeeks