diskpart list disk select disk X # replace "X" with the disk you want to format a volume on list volume select volume X # replace "X" with the volume you want to format format fs=X # replace "X" with the file system you want to use