Help

 

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Displays a list of the available commands or detailed help information on a specified command.

For examples of how this command can be used, see Examples.

Syntax

help [<command>]

Parameters

Parameter

Description

<command>

Specifies the command for which to display detailed help information.

Remarks

  • If no command is specified, help will display all possible commands.

Examples

To display a list of all commands available in DiskPart, type:

help

To display detailed help information about how to use the create partition primary command in DiskPart, type:

help create partition primary

Additional references

Command-Line Syntax Key

DiskPart Commands