Creates a logical partition in an extended partition. Applies to master boot record (MBR) disks only. Syntax: CREATE PARTITION ...

    Creates a logical partition in an extended partition. 
    Applies to master boot record (MBR) disks only.

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

    SIZE=    The size of the partition in megabytes (MB). The partition is
                at least as big in bytes as the number specified by N. If you
                specify a size for the logical partition, it must be smaller
                than the extended partition. 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 is placed in the first disk
                extent that is large enough to hold it.

    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 logical partition.

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

Example:

    CREATE PARTITION LOGICAL SIZE=1000