Software

Windows Diskpart command-line tool pop quiz

Do you know how to manage disks from the Windows command line? Test your knowledge of the Windows Diskpart utility with this TR Dojo pop quiz.

Answers to our TR Dojo pop quiz on the Windows Diskpart utility:

1. Diskpart replaced which of the following MS-DOS-based disk management utilities?

  • fdrive
  • diskmanage
  • fdisk
  • diskm

2. Which of the following Diskpart commands can be used without selecting or setting the focus on a specific disk?

  • remove
  • list
  • assign
  • active

3. Which of the following Diskpart commands would you use to set the focus on or select a specific disk?

  • grab
  • focus
  • select
  • disk

4. Which of the following Diskpart commands would you use to obtain summary information about each disk in the computer?

  • info disk
  • list disk
  • display disk
  • show disk

5. Which of the following Diskpart commands would you use to obtain detailed information about the current in-focus disk?

  • detail disk
  • list disk /all
  • show disk /all
  • info disk

6. Which of the following Diskpart commands would you use to create a primary partition on the current in-focus drive?

  • create primary partition
  • create partition primary
  • make partition primary
  • make primary partition

7. Which of the following Diskpart commands would you use to create a simple volume on the specified disk?

  • create simple volume
  • create volume simple
  • make volume simple
  • make simple volume

8. Which of the following Diskpart commands would you use to mark the current in-focus partition as a valid system partition?

  • activate
  • active
  • validate
  • boot

9. Which of the following Diskpart commands would you use to assign a drive letter or mount point to the current, in-focus volume?

  • ldrive
  • mount /add
  • assign
  • letter

10. Which of the following Diskpart commands would you use to remove a letter or mount point from the current in-focus partition?

  • delete
  • mount /remove
  • remove
  • ldrive /remove

Additional Diskpart resources:

About

Bill Detwiler is Managing Editor of TechRepublic and Tech Pro Research and the host of Cracking Open, CNET and TechRepublic's popular online show. Prior to joining TechRepublic in 2000, Bill was an IT manager, database administrator, and desktop supp...

5 comments
CadJoe
CadJoe

Great Quiz Bill, but I'm surprised you didn't touch on the EXTEND command. This just saved me on a 2003 Server last weekend to add 150 gig to a volume. The way I used to do this years ago was Partition Magic, or Server Magic, but as usual, Symantec bought them, and no longer makes the app. I was AMAZED to find this command is not well known, and it has been here since Windows XP.

Ole88
Ole88

Bill, I always enjoy taking your quizzes. Sometimes they reinforce the fact that I actually know something. Other times, they help me learn something new. The quizzes run third, the TRDojo videos run first. In second place, the blooper reels are always great entertainment. :D

SmartAceW0LF
SmartAceW0LF

Thanks Bill. Always interesting reads, your posts.

Bill Detwiler
Bill Detwiler

Thanks for the compliment. I'm glad to find the content helpful!

Bill Detwiler
Bill Detwiler

Thanks for the kind words and taking the time to post.

Editor's Picks