how to show the drive information using by command

Diskpart is a command-line hard disk partitioning utility.It can use create,delet partions and volumes.

Diskpart to convert a dynamic disk to a basic disk and vice versa
DISKPART> ?

Microsoft DiskPart version 5.1.3565

ADD         – Add a mirror to a simple volume.
ACTIVE      – Marks the current basic partition as an active boot partition.
ASSIGN      – Assign a drive letter or mount point to the selected volume.
BREAK       – Break a mirror set.
CLEAN       – Clear the configuration information, or all information, off the
disk.
CONVERT     – Converts between different disk formats.
CREATE      – Create a volume or partition.
DELETE      – Delete an object.
DETAIL      – Provide details about an object.
EXIT        – Exit DiskPart
EXTEND      – Extend a volume.
HELP        – Prints a list of commands.
IMPORT      – Imports a disk group.
LIST        – Prints out a list of objects.
INACTIVE    – Marks the current basic partition as an inactive partition.
ONLINE      – Online a disk that is currently marked as offline.
REM         – Does nothing. Used to comment scripts.
REMOVE      – Remove a drive letter or mount point assignment.
REPAIR      – Repair a RAID-5 volume.
RESCAN      – Rescan the computer looking for disks and volumes.
RETAIN      – Place a retainer partition under a simple volume.
SELECT      – Move the focus to an object.

Eg. DISKPART>list volume , list disk detail disk

To create a striped volume using a command line
1.Open a command prompt and type diskpart.

2.At the DISKPART prompt, type list disk. Make note of the number of the disk where you want to
create a striped volume.

3.At the DISKPART prompt, type create volume stripe [size=<size>]

[disk=<disknumber>[,[<seconddisknumber>,…]].

http://support.microsoft.com/kb/300415
http://technet.microsoft.com/en-us/library/cc732422.aspx

Advertisements

Posted on December 23, 2013, in Uncategorized, Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: