Delete Disk
DiskPart
This is from Microsoft Technet. If you want to see it at their site, click here
To access DiskPart, click here
Syntax: delete disk [noerr] [override]
Deletes a missing dynamic disk from the disk list.
noerr
For scripting only. When an error is encountered, specifies that
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.