DiskPart: DiskPart is a command interpreter

which enables you to manage the objects (disks, partitions, or volumes) by using scripts or direct an input from a command prompt.

 

To go to Disk Management, using Server Manger, go to Tools and click Computer Management.

Windows Server Image: Server Manager Dashboard.

 

Under the Storage —> Disk Management —> Select Disk Management. —> You’ll find different disks and volumes.


Windows Server Image: Computer Management

 

To switch to DiskPart

 

Open Command Prompt as an Administrator —> type DiskPart.

Windows Server
T
o list all the disks

Type list disk.

 Windows Server
T
o list all the volumes

 

Type list volume.

Windows Server
T
o select a disk

 

Type select disk <disk number>, as shown below.

Windows Server
T
o create partition of the disk

 

To create new partition, type create partition primary size < specify the size in MB>, as shown below.

Windows Server Once we create a new partition with 500 MB size, we can go back to Disk Management, using Computer Management and verify the newly created volume. As we can see below, there’s a new volume, which has been created with 500 MB size.

Windows Server

Image: Computer Management

 

To do a Quick Format of the disk volume

 

Type “format quick fs=ntfs label=“Unused Volume” ( You can give any name).

Windows Server To verify the changes from the results given above, type list volume.

 Windows Server
T
o see all the DiskPart commands

 

Type ?

Windows Server
T
o select a disk

 

Type exit

Windows Server