Deletes a missing dynamic disk from the disk list. Syntax: DELETE DISK NOERR OVERRIDE NOERR For scripting only. When an error ...

    Deletes a missing dynamic disk from the disk list.

Syntax:  DELETE DISK [NOERR] [OVERRIDE]

    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.

    OVERRIDE    Enables DiskPart to delete all simple volumes on the disk. If
                the disk contains half of a mirrored volume, the half of the
                mirror on the disk is deleted. The delete disk override command
                fails if the disk is a member of a RAID-5 volume.

    A missing dynamic disk must be selected for this operation to succeed.

Example:

    DELETE DISK