Software >> OS >> Windows >> Command Line >> diskpart >> How to use diskpart to wipe clean a hard disk


## For example we have 2 disks, disk 0 and disk 1 and we want to wipe clean disk 1

Open cmd prompt as administrator

c:\windows\system32> diskpart

DISKPART> list disk

DISKPART> select disk 1

DISKPART> list disk

DISKPART> clean

DISKPART> exit