View partitions with the following command Replace the number with the number for the disk returned in the previous command.
Select the disk that you want to view partitions for with the command below. In the new window, run the following command and it will list all the disks i.e., drives connected to your system. Run the following command to start the Diskpart tool.