How to use Diskpart command line to convert/resize/delete partitions?

What is diskpart? DiskPart.exe is a text-mode command line tool interpreter which enables storage objects such as disks, partitions or volumes configuration and management from a script, remote session, or direct input from a command prompt. Diskpart is actually the underlying utility that augments the Disk Administrator graphical user interface and enables a superset of the actions that are supported by the Disk Management snap-in. The Disk Management snap-in prohibits you from inadvertently performing actions that may result in data loss, sometimes it is recommended that DiskPart is used to enable explicit control of partitions and volumes. What is Windows Disk Management? Disk Management under Computer Management in Administrator Tools is a GUI (Graphical User Interface) based disk partitioning utility that allows Windows 2000, Windows 2003 Windows XP, Windows Vista, Windows 7 users to set active partition, change drive letter and paths, extend volume, shrink volume, delete volume, and format … Continue reading