PrepAway - Latest Free Exam Questions & Answers

which order should you run the Diskpart commands?

DRAG DROP
You have a server named Server1 that runs Windows Server 2012.
You need to create a new volume on Server1. The newvolume must have the following configurations:
Be stored on a new virtual hard disk
Be assigned the drive letter G
Have the NTFS file system
In which order should you run the Diskpart commands?
To answer, move all the Diskpart commands from the list of commands to the answer area and arrange them
in the correct order.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

9 Comments on “which order should you run the Diskpart commands?

    1. Adam says:

      Format should be the last step.

      If a volume is formatted then it is not possible to create a partition on it, the volume needs to be deleted, then a partition can be created on it, then the partition formatted.




      0



      0
    1. Adam says:

      I carried out a test on a VM VHD, though please note the question is about a Virtual Disk which is typically created on a Hyper-V host using File and Storage Services / Storage Pools.

      The steps are:
      Create
      Attach
      Assign

      The Format step occurs after the Partition has been created. The Partition can be a variable size, example 1TB on a 3TB Virtual Disk then it can be formatted.

      So the final two steps are in this order:
      Partition
      Format




      0



      0
      1. robber says:

        you tested this? briljant that u can assign a drive letter to a non existent partition.

        create
        attack
        partition

        assign
        format
        (i think the order for assign and format doesn’t really matter)




        1



        0
  1. Pirulo says:

    from https://technet.microsoft.com/en-us/library/hh825691.aspx

    diskpart
    create vdisk file=C:\windows.vhd maximum=25600 type=fixed
    select vdisk file=C:\windows.vhdx
    attach vdisk
    create partition primary
    assign letter=v
    format quick label=vhd
    exit

    So order is :
    CREATE VDISK
    ATTACH VDISK
    CREATE PARTITION
    ASSIGN LETTER
    FORMAT

    On a side note, VHDs can be used without a hypervisor, usually for windows image maintenance.
    See : https://technet.microsoft.com/en-us/library/hh825689.aspx
    and https://technet.microsoft.com/en-us/library/hh825691.aspx




    0



    0

Leave a Reply