Creates an Extensible Firmware Interface (EFI) system partition on a GUID partition table (GPT) disk. Syntax: CREATE PARTITION ...

    Creates an Extensible Firmware Interface (EFI) system partition on a GUID
    partition table (GPT) disk.

Syntax:  CREATE PARTITION EFI [SIZE=] [OFFSET=] [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 current region.

    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.

    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 is given to the new
    partition.

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

Example:

    CREATE PARTITION EFI SIZE=1000