Creates an extended partition on the disk with focus. Applies to master boot record (MBR) disks only. Syntax: CREATE PARTITION ...

    Creates an extended partition on the disk with focus. 
    Applies to master boot record (MBR) disks only.

Syntax:  CREATE PARTITION EXTENDED [SIZE=] [OFFSET=] [ALIGN=] [NOERR]

    SIZE=    The size of the partition in megabytes (MB). If no size is
                given, the partition continues until there is no more free
                space in the extended partition.

    OFFSET=  The offset, in kilobytes (KB), at which the partition is 
                created. If no offset is given, the partition will start 
                at the beginning of the first free space on the disk that
                is large enough to hold the new partition.
                
    ALIGN=   Typically used with hardware RAID Logical Unit Number (LUN)
                arrays to improve performance. The partition offset will be
                a multiple of . If the OFFSET parameter is specified, it 
                will be rounded to the closest multiple of .

    NOERR       For scripting only. When an error is encountered, DiskPart
                continues to process commands as if the error did not occur.
                Without the NOERR parameter, an error causes DiskPart to exit
                with an error code.

    After the partition has been created, the focus automatically shifts to the
    new partition. Only one extended partition can be created per disk. This
    command fails if you attempt to create an extended partition within another
    extended partition. You must create an extended partition before you can
    create logical partitions.

    A basic MBR disk must be selected for this operation to succeed.

Example:

    CREATE PARTITION EXTENDED SIZE=1000