text
stringlengths
0
4.23k
convert
Converts file allocation table (FAT) and FAT32 volumes to the NTFS file system, leaving existing files and directories intact.
create
Creates a partition on a disk, a volume on one or more disks, or a virtual hard disk (VHD).
delete
Deletes a partition or a volume.
detach vdisk
Stops the selected virtual hard disk (VHD) from appearing as a local hard disk drive on the host computer.
detail
Displays information about the selected disk, partition, volume, or virtual hard disk (VHD).
exit
Exits the diskpart command interpreter.
expand vdisk
Expands a virtual hard disk (VHD) to the size that you specify.
extend
Extends the volume or partition with focus, along with its file system, into free (unallocated) space on a disk.
filesystems
Displays information about the current file system of the volume with focus and lists the file systems that are supported for formatting the volume.
format
Formats a disk to accept files.
gpt
Assigns the gpt attribute(s) to the partition with focus on basic GUID partition table (gpt) disks.
help
Displays a list of the available commands or detailed help information on a specified command.
import
Imports a foreign disk group into the disk group of the local computer.
inactive
Marks the system partition or boot partition with focus as inactive on basic master boot record (MBR) disks.
list
Displays a list of disks, of partitions in a disk, of volumes in a disk, or of virtual hard disks (VHDs).
merge vdisk
Merges a differencing virtual hard disk (VHD) with its corresponding parent VHD.
offline
Takes an online disk or volume to the offline state.
online
Takes an offline disk or volume to the online state.
recover
Refreshes the state of all disks in a disk group, attempt to recover disks in an invalid disk group, and resynchronizes mirrored volumes and RAID-5 volumes that have stale data.
rem
Provides a way to add comments to a script.
remove
Removes a drive letter or mount point from a volume.
repair
Repairs the RAID-5 volume with focus by replacing the failed disk region with the specified dynamic disk.
rescan
Locates new disks that may have been added to the computer.
retain
Prepares an existing dynamic simple volume to be used as a boot or system volume.
san
Displays or sets the storage area network (san) policy for the operating system.