diskpart Command Examples

Disk, volume and partition manager. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/diskpart.

diskpart

list disk

select volume {{volume}}

assign letter {{letter}}

create partition primary

active

exit