The diskpart command prompt allows you to create or delete partitions on hard drives.
Windows Command Line Guide – 1 – Introduction to the Command Prompt
The diskpart command is available through the command prompt in Windows operating systems including Windows 11, 10, 8, etc.
You can also run this command from the Recovery Console in Windows 2000 and Windows XP.
Here are some examples of how the diskpart command can be used: