Understanding of using DiskPart





           DiskPart can help you to manage fixed disks and volumes by using scripts or direct input from the command line. At the command prompt, type DiskPart, and then enter commands at the DiskPart
command prompt. The following are common DiskPart actions:
• To view a list of DiskPart commands, at the DiskPart command prompt, type commands.
• To create a DiskPart script in a text file and then run the script, type a script similar to DiskPart /s
testscript.txt
• To create a log file of the DiskPart session, type DiskPart /s testscript.txt > logfile.txt

The DiskPart commands that we often use are:

  • list disk: Displays a list of disks and related information, including disk size, the amount of available free space on the disks, whether the disks are basic or dynamic, and whether the disks use the MBR or GPT partition style. The disks marked with an asterisk (*) are the ones against which the commands will execute.
  • select disk <disknumber>: Selects the specified disk—where <disknumber> is the disk number—and gives it focus.
  • convert gpt Converts an empty, basic disk with the MBR partition style Sto a basic disk with the GPT partition style.
Understanding of using DiskPart Understanding of using DiskPart Reviewed by Unknown on 9:15 PM Rating: 5

No comments:

Powered by Blogger.