Diskpart

diskpart is a command-line tool to partition a disk, add and remove partitions, resize them and more. It is included in Windows and most Windows PE images, however it is not included in Microsoft Validation OS.