The answer is: diskpart format command that does the job of disk management using cmd on Windows.
If you want to format an internal hard drive or format external hard drive using cmd diskpart, this tutorial will show you the detailed steps.
If your hard drive or portable hdd is a new bought disk, you may try the following steps to get it formatted.
The key: to get it initialized at first and then format.
Also read: how to initialize disk
Alternative: Initialize new disk under disk management
Video - how to add, initialize and format a new disk in Windows 10
If your hard drive or external hard drive is a healthy working disk, try the following steps to get it formatted.
Preparation - Open cmd and type diskpart to get started.
The difference comes with disk may contain more than 1 partition. If a disk is a whole partition itself, then go with the above steps.
If there are more than two partitions on the disk, the above steps would get all partitions formatted.
If you want to format just one partition on the hard disk instead of the whole, you need to go more further with the following steps.
Note: list volume cmd would show all found volumes on your computer and it would be easier for you to select what you want to format, get it selected, and then go with diskpart format fs=ntfs or fat32, or exfat per you need.
Our advice: disk management is much eaiser than diskpart cmd.
Here we would show you how to use disk management on Windows 10/7 to do the job of Windows 10 format command line to format drive instead of cmd.
Also read: 8 free ways to format disk/usb; or how to format drive ntfs
Cannot format hard drive?
Windows unable to format? Recommend: Unable to format hard drive fixes, or cannot format pen drive fixes
IM-Magic Partition Resizer is a free Windows disk utility that can not only format a hard disk but also clone it, migrate OS, upgrade to a larger disk, repair logical errors, and regenerate hard disks.
Part 1: Format Hard Disk Using Partition Resizer
Note: Formatting will erase all data on the hard disk, so please back up your data first.
Part 2: Clone the Damaged Hard Disk to Another Drive for Free Using Partition Resizer
Part 3: Remove Hard Disk Write Protection Using Partition Resizer
FAQs
Is Diskpart Windows 10 disk management command line?
Answer: YES. Windows disk management provides a user interface that is more easier to manage disk volumes while command line diskpart is for advanced professionals. And there is no difference among diskpart Windows editions no matter 7 or 10.
How do I use diskpart to clean and format a drive?
Answer: Diskpart to clean and format a drive? Just go ahead with the following steps.
The above steps shows how to clean and format a drive using diskpart cmd on Windows pcs.
Also read: how to use diskpart format cmd